Skip to content

Instantly share code, notes, and snippets.

@andrewkroh
Created September 8, 2015 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewkroh/777bb47fd85c65accd91 to your computer and use it in GitHub Desktop.
Save andrewkroh/777bb47fd85c65accd91 to your computer and use it in GitHub Desktop.
Jar Verification with OpenSSL
# Print attributes inside of DSA/RSA file:
openssl cms -in ORG.RSA -inform DER -noout -cmsout -print
# Verify the signature:
openssl smime -verify -inform DER -in ORG.RSA -content ORG.SF -noverify
# Print signing chain:
openssl pkcs7 -text -in ORG.RSA -inform DER -print_certs -noout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment