Karate 空手道-如何使用客户端证书发送请求

Karate 空手道-如何使用客户端证书发送请求,karate,Karate,我用KarateDSL测试了一个RESTAPI,它运行得很好。但目前我正试图通过客户端TLS证书发送带有身份验证的请求 卷曲看起来像这样: curl-X POST https://-d'{“id”:“First”,“status”:“Active”}--cert cert.crt:password--key cert.key--unsecure 这是某种方式,如何从空手道发送此请求?还是一些变通办法 提前感谢请参考文档和示例: # enable X509 certificate authenti

我用KarateDSL测试了一个RESTAPI,它运行得很好。但目前我正试图通过客户端TLS证书发送带有身份验证的请求

卷曲看起来像这样:

curl-X POST https://-d'{“id”:“First”,“status”:“Active”}--cert cert.crt:password--key cert.key--unsecure

这是某种方式,如何从空手道发送此请求?还是一些变通办法


提前感谢

请参考文档和示例:

# enable X509 certificate authentication with PKCS12 file 'certstore.pfx' and password 'certpassword'
* configure ssl = { keyStore: 'classpath:certstore.pfx', keyStorePassword: 'certpassword', keyStoreType: 'pkcs12' };