Skip to content

Instantly share code, notes, and snippets.

@robglarsen
Created October 19, 2021 07:45
Show Gist options
  • Save robglarsen/475339be39a2171a1be672c40cf603b6 to your computer and use it in GitHub Desktop.
Save robglarsen/475339be39a2171a1be672c40cf603b6 to your computer and use it in GitHub Desktop.
Import cert into jks store

keytool -printcert -sslserver mysite.local -rfc | keytool -import -noprompt -alias mysite -keystore cacerts -storepass changeit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment