I downloaded an existing certificate from a sandbox, so I have the .crt file. Now I want to use this certificate in another sandbox. Unfortunately Salesforce only allows you to import a .jks (Java Keystore) file. I failed to generate one of these not knowing I would need it to import it in another Salesforce instance, so all I have is the .crt file. Is there any workaround to getting the certificate uploaded back into Salesforce?

  • I don't think you can export private keys from Salesforce.
    – dzh
    Dec 18, 2017 at 0:18

1 Answer 1


There's an excellent post here at stackexchange providing the answer:


  • Thanks for the link. I had gone through the link and in addition to crt file, it is also asking for the key file. And we have crt and pem file. So, we need a way to create JKS file using CRT and PEM file. Any thoughts on this? Feb 4, 2016 at 10:03
  • Unfortunately link is not useful for my query. Thanks... Feb 4, 2016 at 10:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.