Thread View: news.software.nntp
4 messages
4 total messages
Started by Steve Crook
Tue, 11 May 2010 12:41
Reload new TLS Certificate
Author: Steve Crook
Date: Tue, 11 May 2010 12:41
Date: Tue, 11 May 2010 12:41
10 lines
1178 bytes
1178 bytes
Hi all, 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? 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. :) Steve
Re: Reload new TLS Certificate
Author: D. Stussy
Date: Tue, 11 May 2010 23:01
Date: Tue, 11 May 2010 23:01
15 lines
1629 bytes
1629 bytes
"Steve Crook" <steve@mixmin.net> wrote in message news:slrnhuik4h.u9u.steve@news.mixmin.net... > Hi all, > > 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? > > 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. :) As that's a value in inn.conf and processed once, I would think either a reboot or a "ctlinnd xexec" would be needed.
Re: Reload new TLS Certificate
Author: 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)
Re: Reload new TLS Certificate
Author: Steve Crook
Date: Sat, 22 May 2010 20:14
Date: Sat, 22 May 2010 20:14
21 lines
1838 bytes
1838 bytes
On Sat, 22 May 2010 20:52:43 +0200, Julien ÉLIE wrote in Message-Id: <ht995q$fat$1@news.trigofacile.com>: > 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. Hi Julien, Thanks very much, just the info I was after. :) > 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). At the moment I'm using cacert.org for my certificates. There's probably not a lot of point though as a self-signed cert would be plenty adequate for my needs. > Have a nice day, You too!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads