Patrick-Dussault

How to verify the attribute format of a Certificate

Blog Post created by Patrick-Dussault Employee on Jan 10, 2018

To see the attribute format from a certificate :

 

$ openssl x509 -in mycert.crt -subject -issuer -nameopt multiline,show_type -noout -subject_hash -issuer_hash

 

subject=
countryName = PRINTABLESTRING:US
organizationName = UTF8STRING:My company .inc
organizationalUnitName = UTF8STRING:Support
commonName = UTF8STRING:My company .inc
description = UTF8STRING:my certificate for the service
emailAddress = IA5STRING:supporto@mycompany.com

 

issuer=
countryName = PRINTABLESTRING:US
organizationName = UTF8STRING:CA Cert
organizationalUnitName = UTF8STRING:Trust Service Provider
2.5.4.97 = UTF8STRING:111-US
commonName = UTF8STRING:CA Cert

Outcomes