Article View: news.software.nntp
Article #83064Re: Reload new TLS Certificate
From: Julien ÉLIE
Date: Sat, 22 May 2010 18:52
Date: Sat, 22 May 2010 18:52
36 lines
2617 bytes
2617 bytes
Hi Steve, > Just for future reference, what's the preferred method to tell INN that > I've generated a new certificate and it needs to reread it? There is nothing special to do if the name of the file containing the certificate on your news server did not change. nnrpd reads it when tls_init() is called, which happens after it forks itself for new connections. So the current certificate will always be used, be nnrpd run in daemon mode or spawned by innd. For both initial TLS (with "nnrpd -S") or use of the STARTTLS command. > Usually it's not too painful for me to use the cert expiry as a good > time to update INN and restart but that's probably not the correct > answer. :) You need to restart INN only when the name of the files changed (because, as D. Stussy mentioned, inn.conf has to be reloaded). It would also imply to restart any nnrpd running in daemon mode. Incidentally, regenerating certificates is very easy with "make cert". Everything is generated for you, and put into <pathetc> (the new preferred location since INN 2.5.1 -- it previously was <pathnews>/lib). Have a nice day, -- Julien ÉLIE « Boire du café empêche de dormir. Par contre, dormir empêche de boire du café. » (Philippe Geluck)
Technical Details
Message-ID:
<ht995q$fat$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.ams.giganews.com!nntp.giganews.com!news.mixmin.net!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.amontpellier-159-1-8-22.w90-57.abo.wanadoo.fr!not-for-mailReferences:
<slrnhuik4h.u9u.steve@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <ht995q$fat$1@news.trigofacile.com> Subject: Re: Reload new TLS Certificate Date: Sat, 22 May 2010 20:52:43 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <slrnhuik4h.u9u.steve@news.mixmin.net> 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.ams.giganews.com!nntp.giganews.com!news.mixmin.net!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.amontpellier-159-1-8-22.w90-57.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 36 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Sat, 22 May 2010 18:52:43 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="amontpellier-159-1-8-22.w90-57.abo.wanadoo.fr:90.57.195.22"; logging-data="15709"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <slrnhuik4h.u9u.steve@news.mixmin.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197