Converting Certificate Files to jks Format with Keystore Explorer (KSE)
Step 1: Opening PFX File
The pfx file is opened with KSE. Right-click on the file inside and select export key pair.
Step 2: Export in PKCS12 Format
The keypair is exported in pkcs12 format with .p12 extension.
Step 3: Creating New JKS File
JKS type is selected with the new file creation option.
Step 4: Importing Keypair
The .p12 file exported just now is imported into the created file with the import keypair option:



Step 5: Setting Password
A new password is given, the point to note is that the given password and jks password must be the same, if there is no password, jks should also have no password.
Step 6: Certificate Chain Export
Then right-click on the imported keypair and select export certificate chain option:

Step 7: Certificate Chain Import
Then this exported certificate is imported into jks. An optional alias can be entered. The point to note is that if there is a certificate with the same alias, it should not be overwritten.
Step 8: Final Status Check
What should be in the final state is:
Step 9: Saving File
The file is saved with the password given to the keypair and closed.

