This is my public notebook.
keytool -import -trustcacerts -alias myacalias -file ./myac.pem -keystore ./mytruststore.jks
This will add the PEM certificate contained in myac.pem
into the
keystore mytruststore.jks
, and will be identified with mycaalias