Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 40:27:45 |
Calls: | 631 |
Calls today: | 2 |
Files: | 1,187 |
D/L today: |
24 files (29,813K bytes) |
Messages: | 174,392 |
"Gabx" wrote:
,----[ Quote vshfc5$2dfs$1@news.tcpreset.net ]
| I removed the nnrpdflags -S option from etc/news/inn.conf but port 119 is still not exactly clear
`----
IMHO, is the correct procedure but you have restarted the INN2 server?
After launch append su news /usr/inn/nnrpd -D -p 563 -S to the startup script Gabx, congratulations on your NNTP server, you have excellent peers!
Any help appreciated
I have inn running normally, on port 119, and it drops non-peers to
nnrpd, which accepts STARTTLS to switch to TLS.
I also have the following entry in my inetd.conf:
nntps stream tcp nowait news /usr/local/news/bin/nnrpd nnrpd -S
So connections to port nntps (563) are guarded by TLS from the beginning (without STARTTLS).
[Unit]
Description=NNRP Daemon (standalone TLS on port 563) After=network-online.target
Wants=network-online.target
Requires=inn2.service
[Service]
Type=simple
User=news
Group=news
ExecStart=/usr/lib/news/bin/nnrpd -p 563 -b 0.0.0.0 -S
Restart=on-abort
ConfigurationDirectory=news
LogsDirectory=news
LogsDirectoryMode=775
RuntimeDirectory=news
StateDirectory=news
StateDirectoryMode=775
ReadWritePaths=/var/spool/news/
ProtectSystem=full
ProtectControlGroups=yes
ProtectHome=yes
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target
#tlscafile: /etc/news/ssl/chain.pem
#tlscapath: /etc/news/ssl
#tlscertfile: /etc/news/ssl/cert.pem
#tlskeyfile: /etc/news/ssl/privkey.pem
#tlsciphers: "ECDHE+AESGCM"
#tlsciphers13: "TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256"
#tlscompression: false
#tlseccurve: "X25519:P-256:P-384:P-521"
#tlspreferserverciphers: true
#tlsprotocols: [ TLSv1.2 TLSv1.3 ]
Jun 08 20:32:49 news.tcpreset.net nnrpd[3657084]: unable to get certificate from '/etc/news/cert.pem'
Jun 08 20:32:49 news.tcpreset.net nnrpd[3657084]: error initializing TLS: [CA_file: ] [CA_path: /etc/news] [cert_file: /etc/news/cert.pem] [key_
The server is in production, stopping the service would not be nice, you will understand me.
These are the errors in the logs for nnrpd launche by systemd:
Jun 08 20:32:49 news.tcpreset.net nnrpd[3657084]: unable to get certificate from '/etc/news/cert.pem'
too many doubts.