Dear Support Team,
I am getting below error while replaying script:
InternetSetOption for INTERNET_OPTION_SECURITY_SELECT_CLIENT_CERT
Same script is working for me on my local mahcine but not working on Load Injector.
I tried recording the script on LG machine - so that certificate get recorded; but no luck.
Can you please help.
Scrip is like:
web_set_certificate_ex("CertFilePath=WinINetCert1.pem",
"CertFormat=PEM",
"KeyFilePath=WinINetCert1.pem",
"KeyFormat=PEM",
"Password=abcdef",
"CertIndex=1",
LAST);
// Create Base64 encoded string
b64_encode_string( "userid:pswd", "BasicAuth" );
web_custom_request("Custom_HTTP_Auth",
"Method=GET",
"EncType=text/xml; charset=\"UTF-8\"",
"URL=_https url..",
LAST);
// Add HTTP Authorization header "Authorization: Basic XXXXXXXXXXXXXXXXXX==\r\n"
web_add_header("Authorization", lr_eval_string("Basic {BasicAuth}"));