svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 326 forks source link

Client Cert #290

Open renjith-yb opened 5 years ago

renjith-yb commented 5 years ago

Trying to use pyresttest for an https webservice which is authenticated with a client cert (cur --cert) .pem file . As per the documentation i have tried using curl_option_SSLCERT: 'cert.pem' .

Wanted to check if i am following the right approach . here is the error I see while running the test

curl.perform() # Run the actual call error: (60, 'SSL certificate problem: self signed certificate in certificate chain')