Skip to main content

Hello Architects,

 

I was able to create a new keystore on my Document folder and created it with private key.

 

Here is the syntax used:

keytool -genkey -keystore SFKeyStore.jks -alias SFOkta -validity 730 -keysize 2048

 

Then, I entered the following command to import the Okta certificate into this keystore:

keytool -importcert -file "okta_salesforce_20200508.crt" -keystore SFKeyStore.jks

 

Finally, I used the following command to convert (this was taken from your last update):

keytool -importkeystore -srckeystore SFKeyStore.jks -destkeystore SFSSOkeystorefile2.jks -srcstoretype pkcs12 -deststoretype jks

 

Using this JKS file, I tried to upload them into Salesforce certificate and got the following error:

 

Error: The key used for "sfokta" is not an RSA key.

 

Can you please let me know what I need to do next?

1 comment
0/9000