Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690004000/192e5379-39af-4c53-88b0-0a19e004383c.jpg?itok=N0_th2sa)
Anamata
NL
Last activity: 15 Dec 2022 9:20 EST
Unable to load keystore : Invalid keystore format
Hi,
I am trying to setup Deployment Manager 5.5 as described in: https://docs-previous.pega.com/devops/86/securely-authenticating-deployment-manager? In here it says I have to create the JKS files, so I followed the steps in: https://docs-previous.pega.com/security/86/creating-keystorejks-and-truststorejks-files
I know that the keytool is a Java-tool, which comes at installing Java on your local computer. The syntax for using keytool is explained here: https://docs.oracle.com/javase/7/docs/technotes/tools/solaris/keytool.html
The first step is to create a new self-signed certificate: keytool -genkey -alias <alias> -keyalg RSA -keysize <enter size> -keypass <password> -keystore cluster-keystore.jks -storepass <password> So for me it looks like: keytool -genkey -alias dmkeystore -keyalg RSA -keysize 2048 -keypass Password12! -keystore cluster-keystore.jks -storepass Password12!
The keysize has to be 2048, because the keyalg is RSA.
Now the cluster-keystore.jks is created, I login to the Pega environment and go to the keystore DMKeyStore and 'Upload file' and fill in the newly created 'Keystore password' Password12! and click on 'Save'.
While tracing this, I can see an ERROR occuring in the Activity Data-Admin-Security-Keystore Validate, step 3: (Data-Admin-Security-Keystore)Unable to load keystore : Invalid keystore format
Hi,
I am trying to setup Deployment Manager 5.5 as described in: https://docs-previous.pega.com/devops/86/securely-authenticating-deployment-manager? In here it says I have to create the JKS files, so I followed the steps in: https://docs-previous.pega.com/security/86/creating-keystorejks-and-truststorejks-files
I know that the keytool is a Java-tool, which comes at installing Java on your local computer. The syntax for using keytool is explained here: https://docs.oracle.com/javase/7/docs/technotes/tools/solaris/keytool.html
The first step is to create a new self-signed certificate: keytool -genkey -alias <alias> -keyalg RSA -keysize <enter size> -keypass <password> -keystore cluster-keystore.jks -storepass <password> So for me it looks like: keytool -genkey -alias dmkeystore -keyalg RSA -keysize 2048 -keypass Password12! -keystore cluster-keystore.jks -storepass Password12!
The keysize has to be 2048, because the keyalg is RSA.
Now the cluster-keystore.jks is created, I login to the Pega environment and go to the keystore DMKeyStore and 'Upload file' and fill in the newly created 'Keystore password' Password12! and click on 'Save'.
While tracing this, I can see an ERROR occuring in the Activity Data-Admin-Security-Keystore Validate, step 3: (Data-Admin-Security-Keystore)Unable to load keystore : Invalid keystore format
I have looked the Pega documentation, previous discussions and still can't figure out what I am doing wrong and how it should be done.
Can someone please help me?
Kind regards, Marc
***Edited by Moderator Marije to change Content Type from Discussion to Question; added capability tags***