Tuesday, July 30, 2013

When recording a Web Protocol script over HTTPS, Security Alert dialog(s) are displayed indicating that there is a problem with the site's security certificate

When recording a Web Protocol script against HTTPS sites (e.g. https://www.example.com/) popup alerts are displayed:
Clicking on "View Certificate" results in the certificate details being displayed:

Note that while these dialogs are displayed, it may still be possible to complete a recording and generate a script that can then be replayed.

Cause

The certificates included with LoadRunner 9.x expired on the 4th January 2011.

Fix

This issue is resolved by replacing the existing certificates with updated versions with a later expiry date. Replacement certificates may be found in this patch file:
lr_ssl_ca_patch.zip.
The certificates to be updated are located in two LoadRunner directories as follows:
1. \bin\certs e.g. "C:\Program Files\HP\LoadRunner\bin\certs" (Six ".crt" files require to be replaced or created if they do not exist),
2. \bincerts e.g. "C:\Program Files\HP\LoadRunner\bincerts" (One ".crt" file requires to be replaced - this directory may not be present in older LoadRunner versions),
To update the certificates, follow these steps:
1. Close any open LoadRunner components (e.g. VuGen),
2. Place the zip file in the directory e.g. "C:\Program Files\HP\LoadRunner",
3. Unzip the zip file to replace the expired certificates in both "\bin\certs" and "\bincerts".
To confirm the correct application of this patch check that the following files were replaced in "\bin\certs":
wplusCA.crt
wplusCAOnly.crt
wplusCert.crt
wpluskey512.crt
wpluskey1024.crt
wpluskey2048.crt
Check that the following file is replaced in "\bincerts":
wplusCA.crt
The new certificate files should be dated 29th December 2010 and will expire in 2020.

3 comments:

Anonymous said...

Hey,

Any change you can send me the zip file for the newer certs? can you email it to ameharhughes@gmail.com?

thanks
aaron

Unknown said...

Very e explained well you have explained, thanks for updating with us.
Web Hosting India | Domain Name Registration India | Web Hosting Companies in India

sandeep saxena said...

Thanks for sharing this and I hope this post may help us to know how to solve it.
LoadRunner Training in Chennai
performance testing training
Loadrunner Training in Porur
Loadrunner Training in T Nagar
QTP Training Institutes in Chennai
QTP Training
Best Loadrunner training institute in chennai
hp loadrunner training