🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #185374

Re: Check certificate for news server (testing neodome)

#185374
From: Carlos E.R.
Date: Mon, 08 Jan 2024 01:58
47 lines
2715 bytes
On 2024-01-07 10:21, Ronald wrote:
> 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?

No. They are different and independent properties. A self signed 
certificate can certainly expire. Depending on your client software, you 
can ignore that and make an exception.

> 
> 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.

That it is not signed by a certificate authority, and thus will not be 
accepted automatically by your client software.

> 
> Can you help me make better sense of the output and how to fix it?

You can not _fix_ it. Not in your power.

-- 
Cheers, Carlos.
Technical Details
Message-ID: <te1s6kxkvs.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
References: <undqeu$tpek$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <te1s6kxkvs.ln2@Telcontar.valinor>
Subject: Re: Check certificate for news server (testing neodome)
Date: Mon, 8 Jan 2024 02:58:21 +0100
From: "Carlos E.R." <robin_listas@es.invalid>
References: <undqeu$tpek$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
Lines: 48
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net nETi0DZ/wbuXlwTLpdy4/gUNluhMLqFyZPjuZyKjwe9YxE1rx6
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:6QdyA4BfK88afkhWHe1w1hUM5LQ= sha256:LEYGN/xqpaOGy6eB+f3mpAecNUXZczyHa/0iE0PC2K8=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <undqeu$tpek$1@paganini.bofh.team>