Reputation: 313
i have .cert file. .key file and Password pharse and end point. We are using keyStore, we are using file system. How can i pass these in my karate request.
Upvotes: 1
Views: 2510
Reputation: 58088
I think you have to convert a .crt
file, please read the docs and also this thread (long) may help: https://github.com/intuit/karate/issues/281
Please update here with your findings so that it helps others and you can suggest changes to the docs if required.
Docs: https://github.com/intuit/karate#x509-certificate-authentication
EDIT: as per comment below, solution is to create a keystore out of the *.crt
file and a .key
file, and then use Karate configure ssl
to use the keystore.
Upvotes: 1