Posts Java keytool add cert to keystore
Post
Cancel

Java keytool add cert to keystore

  • To add pem or X.509 cert to java keystore
1
keytool -import -alias corporate_proxy -file ~/Downloads/proxy.pem -keystore jssecacerts

or

1
keytool -import -alias corporate_proxy -file ~/Downloads/proxy.crt -keystore jssecacerts
This post is licensed under CC BY 4.0 by the author.