1, first access to the site to be measured by the address, from the browser to export the certificate, or directly to the developer for this certificate; General certificate is the CER format;
2, because the LoadRunner only support the PEM format certificate, so the certificate conversion format; Here you need to use the OpenSSL tool, into the cmd command window, enter the installation directory of OpenSSL, enter the command to convert the certificate to PEM format, please refer to the above two blog posts;
The conversion method is as follows:
a) after installing OpenSSL
b) run the OpenSSL binary file of the C:\<openssl>/bin folder, which will start the OpenSSL command Prompt
c) execute the following command:pkcs12-in D:\test1.pfx-out D:\admin149.pem–nodes
d) after execution, the Admin149.pem file will be generated in the specified directory, which will be used when the next step is configured for LoadRunner .
3. After obtaining the certificate in PEM format, set the Loadrunner->vuser window->tools->portmapping page: First click the Newentry button, as shown in: Enter entry To configure the window, as shown in the
4, after the configuration is complete, the recording script, under normal circumstances, the recorded script will appear before the certificate information, as follows:
WEB_SET_CERTIFICATE_EX ("Certfilepath=admin149.pem", "Certformat=pem", "Keyfilepath=admin149.pem" , "Keyformat=pem", "password=123456", "Certindex=1", last );
Configuration of the HTTPS certificate in LoadRunner