🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68842

Problem with ssl initialization again.

#68842
From: Jochen Gensch
Date: Mon, 29 Mar 2004 14:29
46 lines
2345 bytes
Hi!

SSL has been working fine the last months. However I cannot get it 
running on the new server. Nnrpd complains about ownership / permissions 
  of the certificate. But the settings are correct.
Here's the message:

---
Mar 29 14:20:26 ms nnrpd[808]: bad ownership or permissions on private 
key '/usr/local/news/lib/cert.pem': private key must be mode 600 and 
owned by news
Mar 29 14:20:26 ms nnrpd[808]: error initializing TLS: [CA_file: ] 
[CA_path: /usr/local/news/lib/cert.pem] [cert_file: 
/usr/local/news/lib/cert.pem] [key_file: /usr/local/news/lib/cert.pem]
---

If I lookup the permissions, the system says:

---
/usr/local/news/lib:ls -l
total 440
-rw-------  1 news  news    2042 Mar 29 14:18 cert.pem
-rw-r-----  1 news  news   69148 Jan  7 22:47 innreport_inn.pm
-rw-r--r--  1 news  news    2605 Mar 29 12:59 innshellvars
-rw-r--r--  1 news  news    3087 Mar 29 12:59 innshellvars.pl
-rw-r--r--  1 news  news    3541 Mar 29 12:59 innshellvars.tcl
-r-xr-xr-x  1 news  news  150306 Mar 29 12:59 libinn.a
-r-xr-xr-x  1 news  news   21416 Mar 29 13:00 libinnhist.a
-r-xr-xr-x  1 news  news  191914 Mar 29 13:00 libstorage.a
---

And sasl.conf looks as follows:

---
/usr/local/news/lib:cat ../etc/sasl.conf
tls_cert_file:  /usr/local/news/lib/cert.pem
tls_key_file: /usr/local/news/lib/cert.pem
tls_ca_path:  /usr/local/news/lib/cert.pem

---

Any hints?


Jochen
Technical Details
Message-ID: <c49bsc$2f91af$1@ID-223401.news.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!vpnpool01-0032.uni-muenster.DE!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <c49bsc$2f91af$1@ID-223401.news.uni-berlin.de>
Subject: Problem with ssl initialization again.
Date: Mon, 29 Mar 2004 16:29:31 +0200
From: Jochen Gensch <nomail@mail.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!vpnpool01-0032.uni-muenster.DE!not-for-mail
Newsgroups: news.software.nntp
Lines: 45
NNTP-Posting-Host: vpnpool01-0032.uni-muenster.de (128.176.150.42)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1080570572 83133775 I 128.176.150.42 ([223401])
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: de-de, de-at, de, en-us, en