Tuesday 27 March 2012

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:
The certificates to be updated are located in two LoadRunner directories as follows:
1.     <LR_install>\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.     <LR_install>\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 <LR_install> directory e.g. "C:\Program Files\HP\LoadRunner",
3.     Unzip the zip file to replace the expired certificates in both "<LR_install>\bin\certs" and "<LR_install>\bincerts".
To confirm the correct application of this patch check that the following files were replaced in "<LR_install>\bin\certs":
  • wplusCA.crt
  • wplusCAOnly.crt
  • wplusCert.crt
  • wpluskey512.crt
  • wpluskey1024.crt
  • wpluskey2048.crt
Check that the following file is replaced in "<LR_install>\bincerts":
  • wplusCA.crt
The new certificate files should be dated 29th December 2010 and will expire in 2020.


No comments:

Post a Comment

How to Change Password of IUSR_METRO Account

Sometime we need to change the password of IUSR_METRO Account. This may be required due to compliance issue. Below are the steps to chang...