SSL in Java Keystore

Support Wissensdatenbank

Du bist hier:

Import SSL into Java Keystore.jks


  1. Make sure your certificate and private key are installed in Windows.
    Open the MMC console. Add the Certificates snap-in. Then select Computer Account and follow the wizard.
  2. Right click on the certificate => All Tasks => Export. Select “Yes, export private key“. Select PKCS #12 as format and save the .pfx file as c:\ssl\cert1.pfx.

    Please choose a own secure password:

  3. You can convert your SSL certificate from PFX format to JKS format:
    “C:\Program Files (x86)\Java\jdk1.8.0_211\bin\keytool.exe” -importkeystore -srckeystore “C:\SSL\cert1.pfx” -srcstoretype PKCS12 -destkeystore “C:\SSL\keystore.jks” -deststoretype PKCS12 -destkeypass 123456Please replace the password 123456 under destkeypass with your own password.


War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post