- 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
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