Verify Certificate

This documentation uses variables denoted with a $ followed by a keyword, all this emphasized with red text (i.e. $variable).  These variables should be replaced with appropriate values.  Suggested default values are denoted with a variable followed by an equal sign and a value (i.e $variable = value).

Verify Certificate

  1. Verify the subject and issuer of a certificate
    openssl x509 -subject -issuer -enddate -noout -in certs/$domain.crt
  2. Verify all content of a certificate
    openssl x509 -in certs/$domain.crt -noout -text
  3. Verify that the certificate is valid for server authentication
    openssl verify -purpose sslserver -CAfile certs/ca.crt certs/$domain.crt

Open Source Software: