🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by tlvp Sun, 08 Jun 2014 01:58
Dialog question on SSL/TLS certificates
#257864
Author: tlvp
Date: Sun, 08 Jun 2014 01:58
11 lines
1732 bytes
One of the NNTP servers I connect to just updated its SSL/TLS certificate,
for use with secure (port 563) NNTP connections, and I was just wondering: 

first, where does 40tude Dialog store such certs? and

second, how is it that Dialog never complained when the old cert expired
and the new cert had not yet gotten downloaded/stored?

Many thanks, both from me and from that NNTP server admin, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Dialog question on SSL/TLS certificates
#257869
Author: Michael Baeuerle
Date: Sun, 08 Jun 2014 10:05
31 lines
2255 bytes
tlvp wrote:
> 
> One of the NNTP servers I connect to just updated its SSL/TLS certificate,
> for use with secure (port 563) NNTP connections, and I was just wondering: 
> 
> first, where does 40tude Dialog store such certs? and

Most likely nowhere. Normally the root certificates of the trusted CAs
are shipped with the OS or the application. The certificate presented by
the server for autentication is checked on the fly every time when a TLS
connection is opened.

> second, how is it that Dialog never complained when the old cert expired
> and the new cert had not yet gotten downloaded/stored?

The server certificate is downloaded again every time a connection is
opened (but normally not stored).

This means that every certificate may be accepted if the chain of trust
can be linked to one of the root certificates, the certificate validity
is not expired and the domainname entries match the server. Likely this
has happened in your case (both certificates valid => no complaint).

Note:
Whether a certificate is revoked or not isn't checked at all in many
cases.


Micha
-- 
http://micha.freeshell.org/
Re: Dialog question on SSL/TLS certificates
#257870
Author: VanguardLH
Date: Sun, 08 Jun 2014 13:14
50 lines
4310 bytes
tlvp wrote on 2014/06/07:

> One of the NNTP servers I connect to just updated its SSL/TLS certificate,
> for use with secure (port 563) NNTP connections, and I was just wondering: 
> 
> first, where does 40tude Dialog store such certs? and
> 
> second, how is it that Dialog never complained when the old cert expired
> and the new cert had not yet gotten downloaded/stored?
> 
> Many thanks, both from me and from that NNTP server admin, -- tlvp

Certificates are stored in the operating system's certificate store.  To
see it, run certmgr.msc.

That's were root and personal certs are stored.  For site certs, those
don't get stored.  You get them when you connect to a site.  Then your
client follows the CA (certificate authority) path to validate the cert
to make sure it has not been revoked or expired.  If you look at the
details of a certificate, you'll see it lists the validation path to the
CA's server.  If the CA changes after issuing certs then the path in the
old certs is invalid and your client cannot verify those certs.

The old cert validate scheme had the client connect to the CA server,
retrieve the CRL (Certification Revocation List), and check that list to
see if the site cert had expired or been revoked.  Get the whole list
and scan the whole list to check if a cert is valid.  The client uses
the CA path specified in the cert to connect to the CA server.  A newer
scheme, OSCP (Online Certificate Status Protocol, not supported by all
clients) has the CA server do the lookup work.  The client asks the CA
server to check the status of a cert.  This eliminates having to
download the entire CRL before the client can use it to check the status
of a site cert versus asking the CA server to do the validation work and
return a good/bad status.  This puts more load on the CA server, less on
the client, and reduces network volume by not having to send the entire
CRL.  See http://en.wikipedia.org/wiki/Ocsp.  If the CA path in the cert
is not current valid or the CA server is unreachable or down then the
site cert cannot be validated.  Clients can fallback to the CRL method
if OSCP fails.

If a site is using a self-signed certificate, there is nowhere your
client can connect to validate that cert.  It was, after all, signed by
the site designer.  In that case, the cert cannot be used to validate
the identify of a site; however, it can still be used to encrypt traffic
to and from that site.  You have to hope to where you wanted to connect
is to where you really connected and traffic will be secured with them.

Because you don't know that a site maintains the same certificate, it
has to be checked everytime you visit the site.  The purpose is to
identify the site so that has to be done everytime you go there.
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