我正在使用 Karate 框架。由于服务器需要这样做,我尝试使用mutual auth
连接到它,如下所述:
https://github.com/intuit/karate#x509-certificate-authentication
* configure ssl = { trustStore : 'classpath:certstore.pfx', trustStorePassword: 'certpassword', trustStoreType: 'pkcs12' };
我收到此错误:
javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
有谁知道如何像我在 Postman 中那样跳过 SSL 证书验证
?
最佳答案
关于java - 关闭 Karate 中的 SSL 证书验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55686417/