View Certificates

CSR Entries

This command allows you to view and verify the contents of a CSR (domain.csr) in plain text:

1
$ openssl req -text -noout -verify -in domain.csr

Certificate Entries

This command allows you to view the contents of a certificate (domain.crt) in plain text:

1
$ openssl x509 -text -noout -in domain.crt

Verify a Certificate was Signed by a CA

Use this command to verify that a certificate (domain.crt) was signed by a specific CA certificate (ca.crt):

1
$ openssl verify -verbose -CAFile ca.crt domain.crt