🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #185405

Re: Check certificate for news server (testing neodome)

#185405
From: Pertti
Date: Mon, 08 Jan 2024 19:28
113 lines
5099 bytes
On 08 Jan 2024, Ivan Fjellstad <ifjellstad7@gmail.com> posted some
news:unge7d$16lla$1@paganini.bofh.team: 

> On 07 Jan 2024, Ronald <ronald@nospam.me> posted some
> news:undqeu$tpek$1@paganini.bofh.team: 
> 
>> On Windows, I ran this command just now.
>> echo q | openssl s_client -connect news.neodome.net:563 | openssl
>> x509 -noout -enddate | findstr "notAfter" 
>> 
>> It reported this result:
>>  depth=0 O = Neodome, CN = neodome.net, emailAddress =
>>  admin@neodome.net verify error:num=18:self signed certificate
>>  verify return:1
>>  depth=0 O = Neodome, CN = neodome.net, emailAddress =
>>  admin@neodome.net verify error:num=10:certificate has expired
>>  notAfter=Dec 31 21:59:46 2020 GMT
>>  verify return:1
>>  depth=0 O = Neodome, CN = neodome.net, emailAddress =
>>  admin@neodome.net notAfter=Dec 31 21:59:46 2020 GMT
>>  verify return:1
>>  notAfter=Dec 31 21:59:46 2020 GMT
>>  DONE
>> 
>> Then I ran this command.
>> openssl s_client -ign_eof -connect news.neodome.net:563
>> 
>> Which reported a long output but I cut out the non errors to result
>> in this. 
>>  verify error:num=10:certificate has expired
>>  Verification error: certificate has expired
>>  Verify return code: 10 (certificate has expired)
>> 
>> But Neodome uses a self-signed certificate.
>> So it's never supposed to expire, right?
>> 
>> I don't know what the output is SUPPOSED to be for a self-signed
>> certificate. I don't even know what a self-signed certificate even
>> means. 
>> 
>> Can you help me make better sense of the output and how to fix it?
> 
> Sikker!
> 
> Slik fikser du en 40tude-socket-feil.
> 
> https://www.youtube.com/watch?v=g2r9I2-LMNo

That is funny and would solve his problem!

> Path: paganini.bofh.team!not-for-mail
> From: rocco portelli <roccoportelli@nospam.it>
> Newsgroups:
> news.software.nntp,alt.free.newsservers,news.software.readers Subject:
> Posting article failed. Socket error # 0 Date: Wed, 29 Nov 2023
> 06:55:38 -0500 Organization: To protect and to server
> Message-ID: <uk78rq$3gr0h$1@paganini.bofh.team>
> Mime-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 8bit
> Injection-Date: Wed, 29 Nov 2023 11:55:38 -0000 (UTC)
> Injection-Info: paganini.bofh.team; logging-data="3697681"; posting-
> host="fk6g7LKM0w/hRp9aKdhgAQ.user.paganini.bofh.team";
> mail-complaints- to="usenet@bofh.team";
> posting-account="9dIQLXBM7WM9KzA+yjdR4A"; User-Agent:
> 40tude_Dialog/2.0.15.41 (Beta 38) Cancel-Lock:
> sha256:b/suCo/X4PFdeEm4B4bO6zG6nQHfFqY4azGl9ap9FMQ= X-Notice: Filtered
> by postfilter v. 0.9.3 Xref: paganini.bofh.team
> news.software.nntp:3309 alt.free.newsservers:6105 
> news.software.readers:274990 
> 
> Before I bother the admin of a common free news server (who I promised
> if he gave me a posting account, I wouldn't be any trouble) I would
> like to figure out if the problem is his encrypted news server or if
> it's in mine. 
> 
> It used to work but stopped working about a week ago with this "socket
> error" of "Posting article failed. Socket error # 0".
> 
> I use 40TudeDialog with stunnel on Windows but I don't know what a 
> "socket"
> is nor if it's even related to stunnel or to the news server.
> 
> Stunnel has been running for years with other news servers and for
> months with this news server (which I can't say what it is as it's not
> known to be
> available for posting unless you ask the news server admin to allow
> it). 
> 
> How do I debug on my own?
> What are the typical debug steps for testing an encrypted connection?
> 
> Thinking something might have used the port, I changed the port in
> both 40Tude Dialog and in the stunnel.conf file, but that arbitrary
> port change made no difference (127.0.0.1:12345 => 127.0.0.1:54321) in
> the error. 
> 
> [newsserver]
> client = yes
> accept = 127.0.0.1:54321
> connect = news.newsserver.net:563
> verify = 0
> verifyChain = yes
> CAfile = ca-certs.pem
> checkHost = news.newsserver.net
> OCSPaia = yes
> 
> How do I debug this error to see at least if the problem is me or him?
> 
> What's a "posting article failed socket error # 0" in 40tude dialog 
> anyway?

a.f.n regs have been had again by the same torll.  Good one, Ivan.
Technical Details
Message-ID: <unhid7$22nnn$2@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <undqeu$tpek$1@paganini.bofh.team> <unge7d$16lla$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <unhid7$22nnn$2@news.mixmin.net>
Subject: Re: Check certificate for news server (testing neodome)
Date: Mon, 08 Jan 2024 19:28:40 +0000
From: Pertti <pertti@arpedio.com>
References: <undqeu$tpek$1@paganini.bofh.team> <unge7d$16lla$1@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.free.newsservers
Organization: Mixmin
Injection-Date: Mon, 8 Jan 2024 19:28:40 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="c4af4a3027e8317d29ea238d8aa6bb2f616aa3fc"; logging-data="2186999"; mail-complaints-to="abuse@mixmin.net"
User-Agent: Mozilla 4.06[en]