KeyStore Explorer tool<https://keystore-explorer.org/> can be used to identify the certificate type & convert it to required format ( .jks / PKCS12) for JMeter. Here you can enter the source certificate file and give pwd of your choice to convert it directly .jks format.
This shall solve your problem. Thanks, Prateek ________________________________ From: Venkatesh N <venkates...@moviuscorp.com.INVALID> Sent: 24 November 2021 12:15 To: user@jmeter.apache.org <user@jmeter.apache.org> Subject: Unable to convert .p12 to JKS file Hello Jmeter expertise, I need to execute API request from Jmeter, which required the .p12 certificate. In jmeter using the keytool command need to convert the .p12 file into .jks file, but while converting observing error keytool -importkeystore -srckeystore rnd100_client.p12 -srcstoretype pkcs12 -destkeystore key.jks -deststoretype jks Importing keystore rnd100_client.p12 to key.jks... Enter destination keystore password: xxxxxx Re-enter new password: xxxxxxx Enter source keystore password: xxxxxx keytool error: java.io.IOException: keystore password was incorrect Which is the keystore password, under the system.property file there is no keystore password saved. Thanks, Venkatesh. N [A picture containing object Description automatically generated] www.moviuscorp.com Confidentiality Note: The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any. The contents of this email, including the attachments, are privileged and confidential to the intended recipient at the email address to which it has been addressed. If you receive it in error, please notify the sender immediately by return email and then permanently delete it from your system. The unauthorized use, distribution, copying or alteration of this email, including the attachments, is strictly forbidden. Please note that neither the sender nor the company accepts any responsibility for viruses and it is your responsibility to scan the email and attachments (if any).