Import the Certificate as a Trusted Certificate

keytool -import -alias stan -file StanSmith.cer -keystore exampleruthstore

https://docs.oracle.com/javase/tutorial/security/toolfilex/rstep1.html