How to skip SSL certificate verification with karate?

≯℡__Kan透↙ 提交于 2020-01-30 08:50:06

问题


I'm trying to turn off SSL certificate verification through karate. For now I'm getting error:

       13:27:14.668 [main] ERROR com.intuit.karate - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, http call failed after 133 milliseconds for URL: https://VRNV02AS04294.int.carlsonwagonlit.com:8443/admin/property/filters/APFilter/true
       13:27:14.668 [main] ERROR com.intuit.karate - http request failed: 

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


回答1:


Please do this:

* configure ssl = true

Read the docs for more: https://github.com/intuit/karate#configure



来源:https://stackoverflow.com/questions/52392614/how-to-skip-ssl-certificate-verification-with-karate

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!