Thread View: news.software.nntp
57 messages
57 total messages
Page 2 of 2
Started by Daniel Webster
Fri, 27 Jun 2014 02:27
Page 2 of 2 • 57 total messages
Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Author: Steve Crook
Date: Mon, 07 Jul 2014 08:29
Date: Mon, 07 Jul 2014 08:29
42 lines
2980 bytes
2980 bytes
On Sun, 06 Jul 2014 22:39:01 -0500, John F. Morse wrote in Message-Id: <lpd4om$42m$1@n102.xanadu-bbs.net>: > Steve, please let these people know just what CN you used when you created > your certificate, so it will match what they are expecting to see coming from you. > > news.mixmin.net -- or -- mixmin.net The cert is issued for news.mixmin.net. Anyone can download the cert and examine details on it:- This command will download the cert into a file mixmin.pem: openssl s_client -showcerts -connect news.mixmin.net:563 < /dev/null > mixmin.pem This will show the CN on the cert: openssl x509 -noout -in mixmin.pem -subject This will show the entire cerfificate: openssl x509 -text -in mixmin.pem > You can use gcr-viewer which is part of the gcr package. > > Reasoning: I use a local BIND9 DNS server on my LAN to resolve the many > hostnames on my LAN. If I create a certificate and use the FQDN -- which > includes the local hostname -- many of my users will not be able to connect > when using any other FQDN (the FQDN the Internet DNS knows). So I cannot > include it in the CN. Other people can connect and download the cert but, it's likely that their client app will reject it because the CN on the cert won't match the FQDN they connected with. You could probably get around that issue by using split horizon DNS but it's potentially more trouble than it's worth in this instance. > That means for access by me, from a client on my LAN, I have to use port 119 > and unencrypted. That is not a problem because port 119 is not routed from the > WAN to any LAN client. and nobody will be sniffing my authentication. -- What shall we use To fill the empty spaces Where we used to talk?
Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Author: Daniel Webster
Date: Mon, 07 Jul 2014 18:43
Date: Mon, 07 Jul 2014 18:43
10 lines
1503 bytes
1503 bytes
On Sun, 06 Jul 2014 20:36:00 -0500, John F. Morse wrote: > Mixmin trusts it because they create it. If you believe the certificate is > indeed from Mixmin, and your connection hasn't been rerouted by some bad guy, > then you accept the certificate. I'm confused, because "I" had to create the certificate, not Mixmin. Why does Mixmin need *me* to create the certificate?
Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Author: Daniel Webster
Date: Mon, 07 Jul 2014 18:44
Date: Mon, 07 Jul 2014 18:44
9 lines
1507 bytes
1507 bytes
On Sun, 06 Jul 2014 16:40:22 +0000, Michael Baeuerle wrote: > But if it should provide a TLS connection for a client process, in > general it is sufficient if it check the certificate received *from* > the server (and provide no own certificate *to* the server itself). The > authentication in this direction is normally done via login/password. There is no login/password for Mixmin at port 563.
Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Author: Daniel Webster
Date: Mon, 07 Jul 2014 18:56
Date: Mon, 07 Jul 2014 18:56
16 lines
1910 bytes
1910 bytes
On Mon, 07 Jul 2014 08:29:28 +0000, Steve Crook wrote: > This command will download the cert into a file mixmin.pem: > openssl s_client -showcerts -connect news.mixmin.net:563 < /dev/null > mixmin.pem I'm thoroughly confused. To properly set up a newsreader with stunnel for Mixmin, do we generate our own certificates (which are pointed to in the stunnel.conf)? $ openssl genrsa -out privatekey.pem $ openssl req -new -x509 -key privatekey.pem -out certificate.pem -days 1095 $ cat privatekey.pem certificate.pem >> stunnel.pem Or do we download the mixmin certificate & use *that* in stunnel.conf instead? $ openssl s_client -showcerts -connect news.mixmin.net:563 < /dev/null > mixmin.pem
Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Author: Michael Baeuerle
Date: Mon, 07 Jul 2014 19:42
Date: Mon, 07 Jul 2014 19:42
15 lines
1657 bytes
1657 bytes
Daniel Webster wrote: > Michael Baeuerle wrote: > > > > But if it should provide a TLS connection for a client process, in > > general it is sufficient if it check the certificate received *from* > > the server (and provide no own certificate *to* the server itself). The > > authentication in this direction is normally done via login/password. > > There is no login/password for Mixmin at port 563. Then simply don't authenticate yourself at all if the server don't require it. Micha
Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Author: Steve Crook
Date: Tue, 08 Jul 2014 08:54
Date: Tue, 08 Jul 2014 08:54
55 lines
2808 bytes
2808 bytes
On Mon, 7 Jul 2014 18:56:44 +0000 (UTC), Daniel Webster wrote in Message-Id: <lpeqhc$ae3$1@speranza.aioe.org>: > On Mon, 07 Jul 2014 08:29:28 +0000, Steve Crook wrote: > >> This command will download the cert into a file mixmin.pem: >> openssl s_client -showcerts -connect news.mixmin.net:563 < /dev/null > mixmin.pem > > I'm thoroughly confused. > > To properly set up a newsreader with stunnel for Mixmin, do we generate our > own certificates (which are pointed to in the stunnel.conf)? > $ openssl genrsa -out privatekey.pem > $ openssl req -new -x509 -key privatekey.pem -out certificate.pem -days 1095 > $ cat privatekey.pem certificate.pem >> stunnel.pem > > Or do we download the mixmin certificate & use *that* in stunnel.conf instead? > $ openssl s_client -showcerts -connect news.mixmin.net:563 < /dev/null > mixmin.pem I've just installed stunnel on another machine and connected to news.mixmin.net. Here are the steps:- Install Stunnel:- apt-get update apt-get install stunnel Create a config file:- vi /etc/stunnel/nntp.conf [nntp] client = yes accept = 127.0.0.1:119 connect = news.mixmin.net:563 Enable Stunnel:- vi /etc/default/stunnel ENABLED=1 Start Stunnel:- /etc/init.d/stunnel start Test connectivity:- $ telnet localhost 119 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20140315 prerelease) ready (posting ok) quit 205 Bye! -- What shall we use To fill the empty spaces Where we used to talk?
Page 2 of 2 • 57 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads