Thanks for your continuous support ! I tried the command you suggested. I used the same Password that I'm trying to use in RPT - I got the details like serial number, Issuer , cert Hash and others with a "Encryption Test Passed" message.
Original Message:
Sent: Wed August 23, 2023 12:05 PM
From: Scott Didier
Subject: Unable to Record a session with certificate
RPT 10.0.2 (from December 2019) should be recent enough.
You can use the command "certutil -dump rdi_api_qa_2023.p12" to check on your certificate. After entering this command, you will need to provide the certificate's password.
------------------------------
Scott Didier
Original Message:
Sent: Wed August 23, 2023 09:39 AM
From: sudheesh srikantam
Subject: Unable to Record a session with certificate
Hello Scott,
I did deleting & importing the certificates several times. Password I used while importing on Firefox is not working in RPT. I understood from your message, Older versions before 10.5.3 might have this issue - I'm using 10.0.2. Do you think this version has issue with certificate ?
Thanks,
Sudheesh S
------------------------------
sudheesh srikantam
Original Message:
Sent: Wed August 23, 2023 01:35 AM
From: Rajesh Avanthi
Subject: Unable to Record a session with certificate
I believe RPT does not support adding .cer and .key files directly, it support PKCS12 format only. These files must be converted to .pfx firstly and then add to a "keystore/database" folder (folder within RPT project). Following are the steps to convert a .cer to .pfx and add it in keystore/database:
For conversion you need tools like "Openssl" to perform this action. The command to convert is:
openssl pkcs12 -inkey server_key.key -in server_cert.cert -export -out server_pfx.pfx

Where....

------------------------------
Rajesh Avanthi
Original Message:
Sent: Tue August 22, 2023 11:16 AM
From: sudheesh srikantam
Subject: Unable to Record a session with certificate
I have an application that requires certificate and unable to proceed further in developing a test script due to error " The certificate database file or pass phrase is invalid: Invalid file contents or pass phrase".
I received PEM file types from the team - converted it to "p12" - it's working fine with POSTMAN (response received as expected). I have imported the same "p12" file, installed at "your certificates" location in Firefox.
In RPT, While recording - Selected Client certificate and browsed to the Certificate Location path , provided password of the certificate. I got the above mentioned error as soon as I started entering password.
I also tried, Click on Multiple certificate --> Add --> Provided Hostname, Port , Certificate database path and the password (Same error as soon as I started entering password)
Should I input Password different from Certificate ?
Any help is appreciated ?
(attached screenshot of error)
Thanks,
Sudheesh Srikantam
------------------------------
sudheesh srikantam
------------------------------