🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Borneq Mon, 06 Jan 2020 18:07
Inn2 and SSL - how to configure?
#88093
Author: Borneq
Date: Mon, 06 Jan 2020 18:07
13 lines
1288 bytes
Leafnode is hard to configuration. Inn2 - I have configured to 
localhost. But how to use SSL?

In /etc/news/inn.conf I write:
nnrpdflags:                  "-S"
tlscapath:                  /etc/news
tlscertfile:                /etc/news/cert.pem
tlskeyfile:                 /etc/news/key.pem


but from get files cert.pem and key.pem?

Thunderbird not connect to port localhost:563
Re: Inn2 and SSL - how to configure?
#88097
Author: Borneq
Date: Mon, 06 Jan 2020 18:23
20 lines
1689 bytes
W dniu 2020-01-06 o 19:07, Borneq pisze:
> Leafnode is hard to configuration. Inn2 - I have configured to 
> localhost. But how to use SSL?
> 
> In /etc/news/inn.conf I write:
> nnrpdflags:                  "-S"
> tlscapath:                  /etc/news
> tlscertfile:                /etc/news/cert.pem
> tlskeyfile:                 /etc/news/key.pem
> 
> 
> but from get files cert.pem and key.pem?
> 
> Thunderbird not connect to port localhost:563
I create cert.pem and key.pem
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout 
key.pem -out cert.pem

and restart inn2 service
but still Thunderbird can't connect to port 563
Re: Inn2 and SSL - how to configure?
#88098
Author: Julien ÉLIE
Date: Mon, 06 Jan 2020 18:43
25 lines
1863 bytes
Hi Borneq,

>> In /etc/news/inn.conf I write:
>> nnrpdflags:                  "-S" >>
> and restart inn2 service
> but still Thunderbird can't connect to port 563

You have to start an nnrpd daemon on port 563.  The nnrpdflags option 
does not do the trick.

At the very end of:

   https://www.eyrie.org/~eagle/software/inn/docs/checklist.html

you'll see a line to add to your init.d script:

   su news -s /bin/sh -c '<pathbin>/nnrpd -D -c 
<pathetc>/readers-ssl.conf -p 563 -S'

-- 
Julien ÉLIE

« – Vite, vous deux ! Allez ouvrir les portes !
   – D'accord chef !
   – Tenez bien le bouclier chef ! » (Astérix)
Re: Inn2 and SSL - how to configure?
#88100
Author: Etian
Date: Mon, 06 Jan 2020 20:41
17 lines
1572 bytes
On 1/6/20 11:23 AM, Borneq wrote:
> W dniu 2020-01-06 o 19:07, Borneq pisze:

>>
>> In /etc/news/inn.conf I write:
>> nnrpdflags:                  "-S"
>> tlscapath:                  /etc/news
>> tlscertfile:                /etc/news/cert.pem
>> tlskeyfile:                 /etc/news/key.pem
>>
>>

The permissions on the files are important. They must be owned by news 
user. chmod 640 for cert, 600 for key.

Also for testing, this is more informative:
openssl s_client -connect news.your-server.com:563
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