Introduction
This article will helps you to convert pvk/jks files into pfx file in Digital signing.
Instructions
Scenario 1 : .pvk into .pfx
If you have a self-signed certificate on a Windows machine, you will get two files: cert.pvk and cert.cer. These can be converted to a pfx using pvk2pfx.
The Microsoft Pvk2Pfx command line utility seems to have the functionality you need:
Pvk2Pfx (Pvk2Pfx.exe) is a command-line tool copies public key and private key information contained in .spc, .cer, and .pvk files to a Personal Information Exchange (.pfx) file.
pvk2pfx -pvk cert.pvk -spc cert.cer -pfx cert.pfx
Scenario 2 : .jks into .pfx
To convert the Java Keystore file to a PFX file, you need to run the following Java Keytool command:
keytool -importkeystore -srckeystore Sample.jks] -destkeystore myfile.pfx -srcstoretype JKS -deststoretype PFX -deststorepass [PASSWORD_PKCS12]
Replace Sample.jks with the name of your actual java keystore file, and myfile.pfx file with the name of the .pfx file which you would like the command to generate.
PASSWORD_PKCS12: password that will be requested at the PKCS#12 file opening.
More info: To verify the contents of the .p12 file (e.g.myfile.pfx), run the following command:
keytool -list -v -keystore myfile.pfx -storetype PFXRelated Articles
How to Use PowerShell to Create a Self-Signed Digital Certificate to Test Digital Signing with InstallShield 41Number of Views Digital Signing Through Commandline 7Number of Views How to Prevent Password Prompt by Creating a .pfx File from a .pvk File and .spc File 4Number of Views Digital Signing Patch for InstallShield 2015 SP2 and Above 23Number of Views Preliminary Troubleshooting Steps for Digital Signing Issues prior to InstallShield 2023 R2 17Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago