Article View: news.software.nntp
Article #90432Advice sought for inn2 and ssl/tls difficulties
From: vga256
Date: Thu, 29 Jun 2023 20:31
Date: Thu, 29 Jun 2023 20:31
58 lines
3020 bytes
3020 bytes
After graciously getting some help from Steve Gibson over at news.grc.com, I finally have inn2 running on macOS. All functions, including user auth, work on port 119. It has been ./configured with the following options: --with-perl --with-openssl=/usr/local/opt/openssl --with-sqlite3 --with-canlock --prefix=/Users/news --with-news-user=news --with-news-group=nntp --with-news-master=newsmaster I had to force the openssl location as it detects macOS's built-in libressl which has no headers available in the operating system. I have both openssl@1.1.1 and openssl@3.x installed. The trouble began when I followed the instructions and ran nnrpd with: ./bin/nnrpd -D -c ./etc/readers.conf -p 563 -S Then, openssl s_client -connect news.dialup.cafe:563 to test the connection. It connects properly with SSL/TLS and allows me to send authinfo user/authinfo pass commands. Relevant inn.conf settings: #tlscafile: tlscapath: /Users/news/etc/certs tlscertfile: /Users/news/etc/certs/fullchain.pem tlskeyfile: /Users/news/etc/certs/privkey.pem #tlsciphers: #tlsciphers13: tlscompression: false #tlseccurve: tlspreferserverciphers: true tlsprotocols: [ TLSv1.2 TLSv1.3 ] fullchain and privkey.pem were generated by certbot, and then copied over manually to the /Users/news/etc/certs folder, as the "news" account does not have permission to access /etc/letsencrypt/live/ The certs files have the proper permissions settings, following the recommendations from the install guide. And yet, when I try to connect using a newsreader like Unison or Thunderbird, it just hangs on connecting. No errors are generated by the client (that I've seen). The only error report I see on the server from macOS console is: default 14:28:07.841314 -0600 nnrpd 192.168.1.74 (192.168.1.74) connect - port 563 default 14:28:28.004603 -0600 nnrpd 192.168.1.74 failure to negotiate TLS session There are no visible errors recorded to /news/logs/. I've tested the server's SSL/TLS configuration on port 563 using testssl.sh (https://testssl.sh/) and it comes back with a 97% (A+) rating. Can anyone take a guess at what might be going on here? Thank you for your time - this has been three days of pulling my hair out! :) vga256
Technical Details
Message-ID:
<u7kpnk$28j89$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <u7kpnk$28j89$1@dont-email.me> Subject: Advice sought for inn2 and ssl/tls difficulties Date: Thu, 29 Jun 2023 14:31:46 -0600 From: vga256 <vga@vga256.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: A noiseless patient Spider Lines: 59 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Unison/2.2 Cancel-Lock: sha1:F+6YeBEFp2hGbAYMXfH0s/U5D6s=