Adding a self-signed certificate to the Java certificate store

keytool -keystore %JAVA_HOME%\jre\lib\security\cacerts -import -file certificate.cer