Highlighted
Honored Contributor.
Honored Contributor.
761 views

Client authentication certificate needed but is not available- Error LoadRunner

Hello,

I am getting error "Client authentication certificate needed but is not available". How to get the index number for web_set_certificate? I am replaying in WinInet mode. Socket is not supported.

 

 

Action.c(3662): Warning -27493: Client authentication certificate needed but is not available. Use "web_set_certificate" or "web_set_certificate_ex" to specify a certificate. web_set_certificate               [MsgId: MWAR-27493]

Action.c(3662): web_custom_request("$metadata_7") highest severity level was "warning", 0 body bytes, 0 header bytes     [MsgId: MMSG-26388]

Action.c(3672): web_custom_request("Row") started  [MsgId: MMSG-26355]

Action.c(3672): Error -27493: Client authentication certificate needed but is not available. Use "web_set_certificate" or "web_set_certificate_ex" to specify a certificate. web_set_certificate             [MsgId: MERR-27493]

Action.c(3672): web_custom_request("Row") highest severity level was "ERROR", 0 body bytes, 0 header bytes                  [MsgId: MMSG-26388]

 

0 Likes
1 Reply
Highlighted
Respected Contributor.
Respected Contributor.

Re: Client authentication certificate needed but is not available- Error LoadRunner

Hello, 

You must use the followig lines to add the certificate

web_set_certificate_ex("CertFilePath=get.cer",
"CertFormat=PEM",
"KeyFilePath=get.cer",
"KeyFormat=PEM",
"Password=xxx",
//"CertIndex=1",
LAST);

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.