Skip to content

Instantly share code, notes, and snippets.

@mikedamm mikedamm/

Created Jan 23, 2012
What would you like to do?
A quick tool to help you resolve intermediate certificate chains
echo -ne "File:\t"
echo $1
echo -ne "Hash:\t"
openssl x509 -noout -hash -in $1
echo -ne "Issuer:\t"
openssl x509 -noout -issuer -in $1
echo -ne "Issuer Hash:\t"
openssl x509 -noout -issuer_hash -in $1
echo -ne "Fingerprint:\t"
openssl x509 -fingerprint -md5 -noout -in $1 | cut -d'=' -f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.