Article View: news.software.nntp
Article #76044SSL support in INN 2.5
From: Iulius
Date: Sun, 22 Apr 2007 16:38
Date: Sun, 22 Apr 2007 16:38
60 lines
2824 bytes
2824 bytes
Hi, Everything seems to work fine, except the use of SSL. I cannot find how to make it work with INN 2.5. With the 2.4.3 version, I use « nnrpd-ssl » and everything works well but there is something I must be missing with the 2.5 version. First of all, I have INN and nnrpd launched on port 119. Everything is fine. I want to add a nnrpd on port 563 in order to listen to SSL connections. I do: nnrpd -D -c /home/news/etc/readers-ssl.conf -p 563 -S Then I am told that innbind cannot bind to that port... After a while, I understand why: innbind is only allow to bind to port 119 and 433 and all the ports above 1024. Why the port 433?!? It is not nntps! Well, I then do: nnrpd -D -c /home/news/etc/readers-ssl.conf -p 433 -S and it binds well. However, I have a little problem: I cannot connect. % cat /home/news/etc/sasl.conf tls_cert_file: /home/news/lib/cert.pem tls_key_file: /home/news/lib/key.pem tls_ca_path: /home/news/lib tls_ca_file: /home/news/lib/cert.pem I generated these files with « make cert ». Is « tls_ca_file » useful (and correct, here) if I only have an auto-generated certificate? By the way, it is very strange that they are put in /home/news/lib (not a right place)... It looks as though that file (in pathetc) were not read: Apr 22 18:28:11 ks39874 nnrpd[1358]: error initializing TLS: [CA_file: ] [CA_path: ] [cert_file: ] [key_file: ] Apr 22 18:28:11 ks39874 nnrpd[1358]: times user 0.008 system 0.000 idle 0.000 elapsed 0.008 Apr 22 18:28:11 ks39874 nnrpd[1358]: time 9 nntpwrite 0(1) Do you have any idea regarding that? Thanks a lot. Regards, -- Iulius « Aequum est ut cuius participauit lucrum, participet et damnun. »
Technical Details
Message-ID:
<f0g32k$83v$1@guepard.ecp.fr>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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!feeder1.cambrium.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <f0g32k$83v$1@guepard.ecp.fr> Subject: SSL support in INN 2.5 Date: Sun, 22 Apr 2007 18:38:48 +0200 From: Iulius <iulius@nom-de-mon-site.com.invalid> 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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!feeder1.cambrium.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!not-for-mail Newsgroups: news.software.nntp Organization: Gens Iulia -- http://www.trigofacile.com/ Lines: 60 NNTP-Posting-Host: goret.via.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: guepard.ecp.fr 1177259924 8319 138.195.145.22 (22 Apr 2007 16:38:44 GMT) X-Complaints-To: ingesys@cti.ecp.fr NNTP-Posting-Date: Sun, 22 Apr 2007 16:38:44 +0000 (UTC) User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)