🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by N's tin testing A/C Wed, 12 Sep 2018 19:29
stunneled tin
#262903
Author: N's tin testing A/C
Date: Wed, 12 Sep 2018 19:29
10 lines
1184 bytes
I put together the latest tin on a small arm and used stunnel for all
the ssl connections. Most of the  servers pass the certificate check apart
from Albasani which uses a self-signed certificate, and news.gmane.org
which has a self-signed cert that has expired. 

I just grabbed the certificate with openssl and stored it locally which
works but I'm not sure it's really Albasani I'm talking to.

-- 
It's dash dash space.
Re: stunneled tin
#262896
Author: Grant Taylor
Date: Wed, 12 Sep 2018 20:53
18 lines
1751 bytes
On 09/12/2018 01:29 PM, N's tin testing A/C wrote:
> Most of the servers pass the certificate check apart from Albasani 
> which uses a self-signed certificate, and news.gmane.org which has a 
> self-signed cert that has expired.

I'm surprised that they are using self-signed certificates.

> I just grabbed the certificate with openssl and stored it locally which 
> works but I'm not sure it's really Albasani I'm talking to.

What is different about Gmane that makes you more sure that you're 
talking to them than you are sure that you're talking to Albasani?



-- 
Grant. . . .
unix || die
Re: stunneled tin
#262897
Author: N's tin testing A/C
Date: Wed, 12 Sep 2018 21:25
23 lines
1743 bytes
Grant Taylor <gtaylor@tnetconsulting.net> wrote:
> On 09/12/2018 01:29 PM, N's tin testing A/C wrote:
>> Most of the servers pass the certificate check apart from Albasani 
>> which uses a self-signed certificate, and news.gmane.org which has a 
>> self-signed cert that has expired.
> 
> I'm surprised that they are using self-signed certificates.

Me too. I probably ought to ask the question in one of their local
groups as a number of other free newsservers are using Let's Encrypt.

> 
>> I just grabbed the certificate with openssl and stored it locally which 
>> works but I'm not sure it's really Albasani I'm talking to.
> 
> What is different about Gmane that makes you more sure that you're 
> talking to them than you are sure that you're talking to Albasani?
>

I'm not talking to it for that reason and also it's cert having expired.

-- 
Dash Dash Space.
Re: stunneled tin
#262898
Author: Grant Taylor
Date: Thu, 13 Sep 2018 02:35
35 lines
2366 bytes
On 09/12/2018 03:25 PM, N's tin testing A/C wrote:
> it's cert having expired

IMHO the fact that a cert is expired is not enough in and of itself to 
be a reason to not talk to a server.

How long has the cert been expired?

Did you trust the site before the cert expired?

Has the cert changed?  Or is it in fact the same cert as before it was 
expired?

I know that I'm on a bit of a soap box.  But think about it.  If 
Google's certificate expired overnight, would you trust Google any less 
today than you did yesterday?  Or would you be annoyed that they can't 
keep their act together enough to renew the cert on time?

The point being, that certificate expiration doesn't make it any less 
secure.

The only thing that dates / times have to do with certificates is how 
likely it is that it's been compromised.  Or something like someone 
accessing a really old cert + private key from an old discarded backup.

Something to think about.  ;-)

Should it be current?  Absolutely.  Is it the end of the world and a 
deal breaker if it's recently expired?  I don't think so.



-- 
Grant. . . .
unix || die
Re: stunneled tin
#262902
Author: N's tin testing A/C
Date: Thu, 13 Sep 2018 10:59
104 lines
3946 bytes
Grant Taylor <gtaylor@tnetconsulting.net> wrote:
> On 09/12/2018 03:25 PM, N's tin testing A/C wrote:
>> it's cert having expired
> 
> IMHO the fact that a cert is expired is not enough in and of itself to 
> be a reason to not talk to a server.
> 
> How long has the cert been expired?

See output I've included at bottom.

> 
> Did you trust the site before the cert expired?
> 

Yes same as for Albasani but for reading only.

> Has the cert changed?  Or is it in fact the same cert as before it was 
> expired?
>

Unknown as this is a new installation.

> I know that I'm on a bit of a soap box.  But think about it.  If 
> Google's certificate expired overnight, would you trust Google any less 
> today than you did yesterday?  Or would you be annoyed that they can't 
> keep their act together enough to renew the cert on time?
> 

Absolutely not. If they couldn't keep it up to date with their resources
something would have to be wrong.

> The point being, that certificate expiration doesn't make it any less 
> secure.
> 

> The only thing that dates / times have to do with certificates is how 
> likely it is that it's been compromised.  Or something like someone 
> accessing a really old cert + private key from an old discarded backup.
> 
> Something to think about.  ;-)

When to trust and not to trust? 

> 
> Should it be current?  Absolutely.  Is it the end of the world and a 
> deal breaker if it's recently expired?  I don't think so.
> 

If you've trusted it previously (but it this case not as it's a new
install).

Here's some output:

$ openssl s_client -connect news.gmane.org:563
CONNECTED(00000003)
depth=0 C = NO, ST = Some-State, O = Gmane, CN = news.gmane.org
verify error:num=18:self signed certificate
verify return:1
depth=0 C = NO, ST = Some-State, O = Gmane, CN = news.gmane.org
verify error:num=10:certificate has expired
notAfter=Jan 12 21:13:46 2018 GMT
verify return:1
depth=0 C = NO, ST = Some-State, O = Gmane, CN = news.gmane.org
notAfter=Jan 12 21:13:46 2018 GMT
verify return:1
---
Certificate chain
 0 s:/C=NO/ST=Some-State/O=Gmane/CN=news.gmane.org
   i:/C=NO/ST=Some-State/O=Gmane/CN=news.gmane.org
---
Server certificate
-----BEGIN CERTIFICATE-----
<snipped>
-----END CERTIFICATE-----
subject=/C=NO/ST=Some-State/O=Gmane/CN=news.gmane.org
issuer=/C=NO/ST=Some-State/O=Gmane/CN=news.gmane.org
---
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: DH, 1024 bits
---
SSL handshake has read 1427 bytes and written 498 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-GCM-SHA384
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated

<snipped>

    Start Time: 1536787264
    Timeout   : 300 (sec)
    Verify return code: 10 (certificate has expired)
---
200 news.gmane.org InterNetNews NNRP server INN 2.5.4 ready (posting ok)
closed



-- 
It's dash dash space.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads