🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #185389

Re: Check certificate for news server (testing neodome)

#185389
From: Ronald
Date: Mon, 08 Jan 2024 10:46
53 lines
3100 bytes
On Mon, 8 Jan 2024 10:33:37 +0100, Carlos E.R. wrote:

> You simply noticed the expiration error and got fixated on it.
> 
> /IF/ you told your software to ignore the expiration rate AND it being a 
> selfsigned certificate, there is another problem you have not looked into.
> 
> For instance, someone, at your end or their end, could have updated the 
> software, and the new software does not ignore the validity.
> 
> They might even have done a backup restore operation and restored an old 
> certificate.

Thank you for being firm that something /else/ changed. 
Not the certificate.

You gave me an idea of where to look, which is probably what happened.
I think I did change the stunnel.conf file as I noticed in my backups:
 [Neodome]
 client = yes
 accept = 127.0.0.1:62563
 connect = news.neodome.net:563
 verify = 0
 ;verifyChain = yes
 ;CAfile = ca-certs.pem
 ;checkHost = news.neodome.net
 ;OCSPaia = yes

I went back to the original email about the setup, and lo and behold the
ONLY thing the admin told me to use was the "verify = 0" line (which he
said was because it was a self-signed certificate). 

He never gave me the rest of those lines.
I must have boilerplated them, and commented them out at that time.

This probably explains what happened.

The certificate probably was expired all along.
I probably had the correct commented out entries for a long time.
At some point, I uncommented those entries (not understanding them).
That's almost certainly when the error occured without me noticing.
Since then, it has failed.

Just now I set teh file back to what it was in that backup.
That "verify = 0" (without the others) worked to post to Neodome!

Of course, sTunnel gives the warning:
 Service [Neodome] needs authentication to prevent MITM attacks

But it's working again. 
Thank you for reminding me of what happened a few weeks ago.

This one can be chalked up to user error.
Technical Details
Message-ID: <ungjqs$16uea$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
References: <undqeu$tpek$1@paganini.bofh.team> <te1s6kxkvs.ln2@Telcontar.valinor> <unfp57$15kco$1@paganini.bofh.team> <h4ss6kxr43.ln2@Telcontar.valinor>

Show Full Headers
Complete Article Headers
Message-ID: <ungjqs$16uea$1@paganini.bofh.team>
Subject: Re: Check certificate for news server (testing neodome)
Date: Mon, 8 Jan 2024 05:46:52 -0500
From: Ronald <ronald@nospam.me>
References: <undqeu$tpek$1@paganini.bofh.team> <te1s6kxkvs.ln2@Telcontar.valinor> <unfp57$15kco$1@paganini.bofh.team> <h4ss6kxr43.ln2@Telcontar.valinor>
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: To protect and to server
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 8 Jan 2024 10:46:53 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1276362"; posting-host="R8jzoRbLjiM/r2rQyny/kg.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:PJ7LEHf3mmLcMe6EvhWv862zJ38pP+8WGg8lh7pZwV0=
X-Notice: Filtered by postfilter v. 0.9.3