🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257870

Re: Dialog question on SSL/TLS certificates

#257870
From: 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.
Technical Details
Message-ID: <ln1njb$isk$1@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
References: <zcd0e8kd40nk$.1j0wp409u9i1i$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <ln1njb$isk$1@news.albasani.net>
Subject: Re: Dialog question on SSL/TLS certificates
Date: Sun, 8 Jun 2014 08:14:19 -0500
From: VanguardLH <V@nguard.LH>
References: <zcd0e8kd40nk$.1j0wp409u9i1i$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Usenet denizen
Lines: 50
Sender: VanguardLH <>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net
 PqO2OvTgFp+ajZ/mapLUWbOc43rYwePgJMQpq4FYrRE08y+sfldN578B8fPrOC9D4pWw+FCldA4m14fMVoLyMg==
NNTP-Posting-Date: Sun, 8 Jun 2014 13:14:20 +0000 (UTC)
Injection-Info: news.albasani.net;
 logging-data="ecozTdCpE9JMtScqCCMx2vcBbfnWBOY56GX8BoyyW+dwd1oB1yn78U1ukreAOhfYVxVQXmKii0jv38N1RRgMhrV599c+DsxwnGAYafFJCnYL0blvaj/nYrXRmF1Yw/Yj";
 mail-complaints-to="abuse@albasani.net"
Keywords: VanguardLH VLH811
User-Agent: 40tude_Dialog/2.0.15.41
Cancel-Lock: sha1:lMmBizcgMOnLQhOvtHitI9Fx34g=
X-Original-Bytes: 4003