🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #180197

Re: [Mixmin] Did a certificate expire recently?

#180197
From: Arlen Holder
Date: Sun, 26 Apr 2020 08:31
60 lines
4127 bytes
In response to what "A. non Eyemouse" <somewhere@work.invalid> wrote :

> I didn't see what OS you are running this on but (as you are no doubt
> aware) you can turn up the logging level in Stunnel for debugging
> purposes but sometimes it still isn't very helpful. 

Thank you for your purposefully helpful information on Stunnel logs where, 
yes, I am aware, in general, of log levels, but the whole time I figured 
the problem was on the mixmin side (and it was) simply because I had changed
nothing in the interim between working and not working (& back to working)

> Just happens today I've been re-building my copies of 5.56 that I use on 
> Windows as OpenSSL updated to 1.1.1g.

I didn't have openssl in my Windows software archives, so to add it, 
I searched and found almost too many Windows binaries to choose from:
<https://wiki.openssl.org/index.php/Binaries>

For example, a quick skim found more than I had wanted to choose from:
o <http://gnuwin32.sourceforge.net/packages/openssl.htm>
o <https://www.openssl.org/>
o <https://www.cloudinsidr.com/content/how-to-install-the-most-recent-version-of-openssl-on-windows-10-in-64-bit/>
o <https://www.osradar.com/install-openssl-windows/>
o <https://slproweb.com/products/Win32OpenSSL.html>
o <https://sourceforge.net/projects/openssl/>
etc.

After installing & googling for syntax examples, this worked:
 echo q | openssl s_client -connect news.mixmin.net:563 | openssl x509 -noout -enddate | findstr "notAfter"
Which confirmed the result you obtained of:
 notAfter=Jun 26 19:57:30 2020 GMT

Given Usenet is a huge public helpdesk, the great news is now I can use 
that command in the future for self-help debugging of a server certificate:
 echo q | openssl s_client -connect news.mixmin.net:563 | openssl x509 -noout -enddate | findstr "notAfter"
 echo q | openssl s_client -connect news.eternal-september.org:563 | openssl x509 -noout -enddate | findstr "notAfter"
 echo q | openssl s_client -connect news.dizum.net:563 | openssl x509 -noout -enddate | findstr "notAfter"
 etc.

This worked for mixmin & eternal september, but, unfortunately, not dizum:
o mixmin = notAfter=Jun 26 19:57:30 2020 GMT
o eternal-september = notAfter=Jun 13 09:09:38 2020 GMT
o dizum = unable to load certificate

Are there any other free newsservers we can test with this command?

> LetsEncrypt is great but the certificates only last for three months.

If I could code better, I would consider writing a script that runs periodically 
to check the known handful of free servers' encryption, e.g., pseudocode...
 for servers named {news.mixmin.net,news.dizum.net,news.eternal-september.org}
   echo q | openssl s_client -connect %servers%:563 | openssl x509 -noout -enddate | findstr "notAfter"
   if enddate < currentdate then print "Warning: %server% cert EXPIRED!'
 endloop

Thanks again for helpfully confirming the mixmin certificate had expired.
Next time I can check the expiry date for myself, and others can benefit 
from this information to do the same.
-- 
Each thread on Usenet should add value to our combined tribl knowledge.
Technical Details
Message-ID: <r83gtf$m8n$1@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: <r7u737$156i$1@neodome.net> <r7ubne$o0a$1@neodome.net> <hgjcd2F26ugU1@mid.individual.net> <r82c3f$50g$1@news.mixmin.net> <hgjsfeF5cv6U1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <r83gtf$m8n$1@news.mixmin.net>
Subject: Re: [Mixmin] Did a certificate expire recently?
Date: Sun, 26 Apr 2020 14:01:43 +0530
From: Arlen Holder <arlenholder@anyexample.com>
References: <r7u737$156i$1@neodome.net> <r7ubne$o0a$1@neodome.net> <hgjcd2F26ugU1@mid.individual.net> <r82c3f$50g$1@news.mixmin.net> <hgjsfeF5cv6U1@mid.individual.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
Newsgroups: alt.free.newsservers
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 26 Apr 2020 08:31:44 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="a3fa566ce7ae1f61856032672b2bcd5f88166057"; logging-data="22807"; mail-complaints-to="abuse@mixmin.net"
User-Agent: NewsTap/4.0.1 (iPad)