Re: [go-nuts] Checking for expired certificates

2017-07-08 Thread gwhelbig via golang-nuts
Shawn, I'm a little confused. Your program prints 'Certificate for "revoked.badssl.com" from "DigiCert Inc" expires 2019-09-11 12:00:00 + UTC (795 days).' for the revoked certificate. How do I tell that it has been revoked? Gary. Cr@p. I just realized that I titled the post "expired" wh

[go-nuts] Checking for expired certificates

2017-07-07 Thread gwhelbig via golang-nuts
The golang net/http package currently does not detect an expired SSL certificate. I need to detect and expired certificate (it's used in an http.Put fuction eventually) and report an error (flag the data back from the put as not secure) Any idea how to go about doing this? TIA, Gary. For ex