Checking SSL Certificates

Verify whether a certificate matches a private key and has valid timestamp &para; The certificate is the signed public key (and some meta data); to verify whether a certificate matches the private key, one has to extract the public key of both and compare them. Both the rsa and the x509 subcommand of openssl have a -modulus option to extract the modulus; they can also extract the complete public…