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
- Verify the subject and issuer of a certificate
openssl x509 -subject -issuer -enddate -noout -in certs/$domain.crt
- Verify all content of a certificate
openssl x509 -in certs/$domain.crt -noout -text
- Verify that the certificate is valid for server authentication
openssl verify -purpose sslserver -CAfile certs/ca.crt certs/$domain.crt