Add Certificate to JAVA keystore (cacerts)

Requirements: Have keytool installed (Installed as a part of the jre) Have your certificate local (either pem or der format) Know where your keystore is