On 2007-07-16, Owen Crow <[EMAIL PROTECTED]> wrote: > > It seems like this can be done with the openssl command line, but I > can only get certificate date information _after_ the certificate > expires. If anyone knows how to extract an SSL certificate's > expiration date remotely, I'd be happy to convert that into a monitor > script. >
Thanks for the offer, I could use something like that :-) $ echo "" | openssl s_client -connect mail.altibox.no:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' |openssl x509 -text|grep "Not After :" -jf _______________________________________________ mon mailing list [email protected] http://linux.kernel.org/mailman/listinfo/mon
