🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266530

Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)

#266530
From: Ronald
Date: Sun, 07 Jan 2024 09:11
38 lines
2671 bytes
On Sun, 7 Jan 2024 03:53:10 -0500, Ronald wrote:

> In a minute I will try it again by removing that one line (verify = 0)
> in the stunnel.conf file for Neodome, but does that look like to you
> that the certificate for Neodome is having the problem?

I commented out the "verify = 0" stunnel.conf line, but it still failed.
It just failed faster.

Stunnel.conf
 [Neodome]
 client = yes
 accept = 127.0.0.1:55555
 connect = news.neodome.net:563
 ; verify = 0
 ; (verify was set to 0 because it's a self-signed certificate)
 verifyChain = yes
 CAfile = ca-certs.pem
 checkHost = news.neodome.net
 OCSPaia = yes

Dialog log:
 5 44896390: Socket Error # 0;  (Neodome username ok) (Finished) [$0000220C]
 0 44896390: KillNNTP entered for: Neodome username ok1 (Finished) [$0000220C]
 
Stunnel log:
 2024.01.07 03:57:01 LOG5[0]: Service [Neodome] accepted connection from 127.0.0.1:55555
 2024.01.07 03:57:01 LOG5[0]: s_connect: connected 95.216.243.224:563
 2024.01.07 03:57:01 LOG5[0]: Service [Neodome] connected remote server from 192.168.1.23:55555
 2024.01.07 03:57:01 LOG4[0]: CERT: Pre-verification error: self-signed certificate
 2024.01.07 03:57:01 LOG4[0]: Rejected by CERT at depth=0: O=Neodome, CN=neodome.net, emailAddress=admin@neodome.net
 2024.01.07 03:57:01 LOG3[0]: SSL_connect: ssl/statem/statem_clnt.c:1889: error:0A000086:SSL routines::certificate verify failed
 2024.01.07 03:57:01 LOG5[0]: Connection closed/reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket

The two main questions are what is a "KillNNTP" in Dialog and 
does that error look like the certificate is bad for Neodome?

Is there a way to test the certificate for Neodome?
Technical Details
Message-ID: <undpsb$tok8$1@paganini.bofh.team>
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
References: <und7gj$srbd$1@paganini.bofh.team> <und84c$ssl1$1@paganini.bofh.team> <302brvey53rn$.dlg@b.rose.tmpbox.news.arcor.de> <undopl$tmdk$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <undpsb$tok8$1@paganini.bofh.team>
Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
Date: Sun, 7 Jan 2024 04:11:40 -0500
From: Ronald <ronald@nospam.me>
References: <und7gj$srbd$1@paganini.bofh.team> <und84c$ssl1$1@paganini.bofh.team> <302brvey53rn$.dlg@b.rose.tmpbox.news.arcor.de> <undopl$tmdk$1@paganini.bofh.team>
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.readers
Organization: To protect and to server
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 7 Jan 2024 09:11:40 -0000 (UTC)
User-Agent: 40tude_Dialog/2.0.15.41 (Beta 38)
Cancel-Lock: sha256:zabLs3mcSJaJvVi+Ee+RWCFDqPF7CmvxZeDDAsIySkA=
X-Notice: Filtered by postfilter v. 0.9.3