Using the certificate viewing file
These examples are from a certificate viewing script for OpenSSL certificates.
The script is located in the /usr/samples/nim/ssl directory.
The script is provided for helping users view hash, issuer, subject, and other certificate information available using the openssl command. The script can be modified based on user need or preference.
To print out all readable values for certificate(s):
# certview certificate_names To print out the hash value for certificate(s):
# certview -h certificate_namesTo print out the issuer value for certificate(s):
# certview -i certificate_nameTo print out the subject value for certificate(s):
# certview -s certificate_nameTo print out the subject, issuer, and enddate values for certificate(s):
# certview -I certificate_name