🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #156539

Re: [Aioe] TLS certificate expired

#156539
From: Michael Baeuerle
Date: Sun, 06 Jul 2014 15:20
54 lines
3601 bytes
kensi wrote:
> Michael Baeuerle wrote:
> > 
> > Sure, you can trust everything and everybody you like. But if your
> > intention is to trust the StartCom CA in this case, but not to trust
> > expired certificates, this is a good chance to check whether your
> > software do what you want.
> 
> It's funny the scam the CAs are pulling with certificates that 
> "expire". Funnier maybe that people fall for the claim that that 
> somehow makes them more secure.
> 
> Say your private key gets compromised. How does expiry help you avoid 
> being impersonated in that instance? You'd have to be extremely lucky 
> to have this happen *just* as the clock was running out on a multi-year 
> certificate.

In general you revoke a certificate after detection that this has
happened. But because in real world most applications don't check CRLs
(and don't use OCSP, maybe because this protocol is a privacy problem
itself) only the certificate expiration prevents that such a compromised
certificate can be abused forever.

> On the other hand, if it wasn't compromised, what does the renewal do? 

Only define the new expiration date.

> It doesn't prove anything about your identity. It just funnels a rental 
> fee to the CA, for something you should have been able to buy outright.

See above, the expiration date serve a real purpose. It acts as a
workaround for the broken revocation handling system in many cases.

> [...]
> All the security against misappropriated keys is gained by having a way 
> for the rightful owner to revoke the certificate in the event of a key 
> compromise (such as we saw recently due to Heartbleed). Expiry doesn't 
> seem to do anything but add headaches for site owners and a fat, lazy 
> revenue stream for the CAs.

I agree with you. *If* you have a working revocation handling system,
the expiration periods could be much longer. But in many (if not nearly
all) cases the revocation checks are weak (passed if no CRL data is
available or the OCSP server is down) or not present at all.


But back to my original intention:
This is a good chance to check how your software react to an invalid
certificate. If this expired certificate is accepted without complaint,
it is likely that there is no authentication implemented at all and any
certificate will always be accepted.


Micha
Technical Details
Message-ID: <AABTuWlFvdQAABG2.A1.flnews@WStation1.micha.freeshell.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <AABTrSU2B5QAAAPK.A1.flnews@WStation2.stz-e.de> <1lnyyps.oydjpz3k86gdN%snipe@spambin.fsnet.co.uk> <chine.bleu-5CB5E2.19095428062014@news.eternal-september.org> <AABTr8ZlI9IAAFnW.A1.flnews@WStation4.micha.freeshell.org> <lpbgq6$fb2$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <AABTuWlFvdQAABG2.A1.flnews@WStation1.micha.freeshell.org>
Subject: Re: [Aioe] TLS certificate expired
Date: Sun, 06 Jul 2014 15:20:37 +0000
From: Michael Baeuerle <michael.baeuerle@gmx.net>
References: <AABTrSU2B5QAAAPK.A1.flnews@WStation2.stz-e.de> <1lnyyps.oydjpz3k86gdN%snipe@spambin.fsnet.co.uk> <chine.bleu-5CB5E2.19095428062014@news.eternal-september.org> <AABTr8ZlI9IAAFnW.A1.flnews@WStation4.micha.freeshell.org> <lpbgq6$fb2$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: alt.free.newsservers
Lines: 54
Mime-Version: 1.0
X-Trace: individual.net yPcrLp6emUbhOlnv5mMUfAFoOyBq/czxkw/hO3qNbSwRS2ph8S
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:8pTdmHkCufd2lYEbDV/D7HWuiqs=
Injection-Date: 6 Jul 2014 15:20:37 -0000
User-Agent: flnews/0.8rc2 (for GNU/Linux)