空手道-无法从 0.7.0 版开始执行证书选择

karate- Unable to perform certificate selection from version 0.7.0 onwards

我是空手道 dsl 新手,也是编码新手。

我使用空手道版本 0.6.0 启动了一个 API 项目,并且能够连接到 Web 服务并使用 karate-jersey 执行证书选择,但是当我更新到版本 0.7.0 时我开始收到错误证书作为错误证书。你能帮我解决这个问题吗?

我在我的功能文件中使用了以下行:

configure ssl = { trustStore: 'classpath:truststore.jks', trustStorePassword: 'certpassword', trustStoreType: 'jks',keyStore: 'classpath:keyStore.p12', keyStorePassword: 'certpassword', keyStoreType: 'pkcs12',trustAll: 'true',algorithm: 'TLS' };

你能试试升级到0.8.0吗

此外,证书处理非常难以实施,请阅读此票证/线程以了解我们/您可能错过的任何内容:https://github.com/intuit/karate/issues/281

如果还是卡住了,请按照这里的流程:https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

您可以查看现有的空手道集成测试来帮助您重现您的问题。非常感谢,因为如果适用,您可以帮助修复空手道:https://github.com/intuit/karate/tree/master/karate-demo/src/test/java/ssl