Q:

Turn off SSL certificate verification in karate

I am using Karate framework. As the server requires to do so, I am trying to connect to it with mutual auth as described here:
https://github.com/intuit/karate#x509-certificate-authentication
* configure ssl = { trustStore : 'classpath:certstore.pfx', trustStorePassword: 'certpassword', trustStoreType: 'pkcs12' };

I am getting this error:
javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate

Does anyone knows how to skip the SSL certificate verification like I do in Postman? 

A:

I should have used keystore instead of trustStore.
* configure ssl = { keyStore : 'classpath:certstore.pfx', keyStorePassword: 'certpassword', keyStoreType: 'pkcs12' };

