Last active
October 22, 2019 19:19
-
-
Save jason-riddle/abd1d285c32ad82bdd6c7c88a2dacc94 to your computer and use it in GitHub Desktop.
Examples using keytool #keytool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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