Complete these instructions to import the .PFX certificate into the Key Store
file.
Procedure
-
Access the path to JDK.
For example: C:
\Path\to\JDK\bin\keytool -importkeystore -v -srckeystore
certFileName.pfx -srcstoretype pkcs12 -destkeystore
keystoreName.ks -deststoretype JKS
-
When prompted, enter the following passwords:
- Enter the destination Key Store password.
- Re-enter the destination Key Store password.
- Enter the source Key Store password.
When complete, you will see a confirmation success message similar to the following:
Entry for alias le-b5796108-4dca-4764-9b86-265ce2839746 successfully imported.
Import command completed: 1 entries successfully imported, 0 entries failed or cancelled
[Storing keystoreName.ks]
Note:
- The alias will be unique.
- The keystoreName.ks will be your Key Store file name.