Quantcast
Viewing all articles
Browse latest Browse all 3978

Support Tip: Error -27778: SSL protocol error when attempting to connect with host.

When you replay an SSL encrypted script in Vugen, It fails with the following error;

 

Error -27778: SSL protocol error when attempting to connect with host "<Certificate Server>", Snapshot Info [MSH 1 2]   [MsgId: MERR-27778]

 

The correct SSL server, Cipher and version was already set according to the document Error: "Cannot connect to remote server" in the Recording log when recording against HTTPS sites.

 

An openssl verify command against the .pem file included in the script directory prints the following error;

 

"C:\Program Files (x86)\HP\LoadRunner\bin\openssl" verify "C:\<Script Directory>\<PEM File>.pem"
...
error 20 at 0 depth lookup:unable to get local issuer certificate

 

This error shows that there is a certificate hierarchy which was not included in this .pem file.

 

You need to add all the certificates in the certificate hierarchy for the SSL certificate to a .pem file (e.g. CAs.pem) and

include this .pem file by adding the following line at the beginning of the script:

web_set_sockets_option("LOAD_VERIFY_FILE","CAs.pem");

 

For more details, you can refer to the below KB article link:

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1372722


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>