Article View: news.software.nntp
Article #68846Re: Problem with ssl initialization again.
From: Russ Allbery
Date: Mon, 29 Mar 2004 17:35
Date: Mon, 29 Mar 2004 17:35
26 lines
2055 bytes
2055 bytes
Jochen Gensch <nomail@mail.org> writes:
> 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.
> ---
> 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
That error message is still wrong. *sigh*. I'll try to add some more
details to it. It actually checks to make sure that cert.pem is owned by
the user nnrpd is running as. I'm guessing you're running nnrpd as root
for some reason.
That's going to cause other problems too. Make sure that nnrpd either
runs in daemon mode (in which case it will drop permissions by itself) or
runs as news.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87ad1z7dzt.fsf@windlord.stanford.edu>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!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<c49bsc$2f91af$1@ID-223401.news.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <87ad1z7dzt.fsf@windlord.stanford.edu> Subject: Re: Problem with ssl initialization again. Date: Mon, 29 Mar 2004 09:35:34 -0800 From: Russ Allbery <rra@stanford.edu> References: <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!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1080581734 1527 171.64.19.147 (29 Mar 2004 17:35:34 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:CyWL+XyfGyUZtlFHGWKNsyz5zas=