Article View: news.software.nntp
Article #81113Re: Does SSL actually work with nnrpd INN2.5-RC2?
From: Julien ÉLIE
Date: Fri, 29 May 2009 06:38
Date: Fri, 29 May 2009 06:38
59 lines
3470 bytes
3470 bytes
Hi Etian,
> /usr/local/inn/bin/nnrpd -D -p 563 -S
> And it starts without error, but when I try to SSH to port 563
In order to test, you should use something like:
openssl s_client -connect your.news.server.com:563
> the connection is instantly cut off, and I find this in the logs:
> error initializing TLS: [CA_file: ] [CA_path: ] [cert_file: /usr/local/inn/lib/cert.pem] [key_file: /usr/local/inn/lib/key.pem]
It shows that you did not parameter inn.conf.
I for one use:
tlscertfile: /home/news/lib/cert.pem
tlskeyfile: /home/news/lib/key.pem
tlscapath: /home/news/lib
#tlscafile: /home/news/lib/cert.pem
(after having generated the certificates with "make cert")
http://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html
> I had created the certificate first with 'make cert', and got the error message. I made the certificates over again meticulously
> following the directions in man nnrpd from the openssl command line, plus chmod'ing and chown'ing. And I got the same error.
I think we forgot to explain in the "TLS SUPPORT" section of the nnrpd
man page that inn.conf should also be updated, and INN restarted.
Thanks for having seen that!
CHECKLIST and INSTALL are not more verbose at all on that bit of
configuration...
> bad ownership or permissions on private key "/usr/local/inn/lib/cert.pem': private key must be mode 600 and owned by uid 9
> error initializing TLS: [CA_file: /usr/local/inn/lib/cert.pem] [CA_path: /usr/local/inn/lib] [cert_file:
> /usr/local/inn/lib/cert.pem] [key_file: /usr/local/inn/lib/key.pem]
>
> I've checked and double-checked the mode and ownership of cert.pem, and it is as it should be.
I have:
% ll lib/*.pem
-rw-r----- 1 news news 1,2K 2009-04-25 14:52 lib/cert.pem
-rw------- 1 news news 887 2009-04-25 14:52 lib/key.pem
But note that I do not define tlscafile in inn.conf; maybe it is the problem
you have (?)
--
Julien ÉLIE
« La moitié des hommes politiques sont des bons à rien.
Les autres sont prêts à tout. » (Coluche)
Technical Details
Message-ID:
<gvnvtj$ge7$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<hFITl.120511$5N7.59250@newsfe09.iad>Show Full Headers
Complete Article Headers
Message-ID: <gvnvtj$ge7$1@news.trigofacile.com> Subject: Re: Does SSL actually work with nnrpd INN2.5-RC2? Date: Fri, 29 May 2009 08:38:14 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hFITl.120511$5N7.59250@newsfe09.iad> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 59 NNTP-Posting-Host: aaubervilliers-151-1-45-218.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1243579123 16839 83.114.135.218 (29 May 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Fri, 29 May 2009 06:38:43 +0000 (UTC) In-Reply-To: <hFITl.120511$5N7.59250@newsfe09.iad> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049