How to create a Java Key Store (JKS)



Please note that Keytool is a java application and you will need to confirm that is installed on your machine. If not you will need to install a java version that has keytool, either jre or jdk. Once you have confirmed that a jdk is installed, please go to the search bar and type in – cmd. This will bring up the command line prompt, and then execute the script as defined below. NOTE you will have to use OpenSSL or a similar tool to create the PKCS12 documents if that has not been created by another person.


A good site to visit for additional information regarding the jks:

NOTE that you have to change your directory to location of the certifcate



cd C:\OpenSSL-Win64\bin\anaplan_api_v2_jks


keytool -importkeystore -deststorepass PASSWORD -destkeystore JAVAKEYSTOREFILE.jks -srckeystore CERTIFICATE.p12 -srcstoretype PKCS12

java key store
keytool -importkeystore -deststorepass <password> -destkeystore anaplanconnectapp.jks -srckeystore anaplanconnectapp.p12 -srcstoretype PKCS12


Screenshot of the executed code