Skip to content

Instantly share code, notes, and snippets.

@jason-riddle
Last active October 22, 2019 19:19
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 jason-riddle/abd1d285c32ad82bdd6c7c88a2dacc94 to your computer and use it in GitHub Desktop.
Save jason-riddle/abd1d285c32ad82bdd6c7c88a2dacc94 to your computer and use it in GitHub Desktop.
Examples using keytool #keytool
# List certs in keystore
keytool -list -v -keystore /etc/ssl/certs/java/cacerts
# Grep for a specific certificate
echo -n 'changeit' | keytool -list -keystore /etc/ssl/certs/java/cacerts 2>/dev/null | grep -B1 -i 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment