Skip to content

how to add curl param --cert-type P12 in hurl #2563

Answered by jcamiel
Taoaozw asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Taoaozw

I'm not a super specialist of certificate but can you convert your p12 file to a certificate and key file first:

$ openssl pkcs12 -in mycert.p12 -out file.key.pem -nocerts -nodes
$ openssl pkcs12 -in mycert.p12 -out file.crt.pem -clcerts -nokeys

Then use --cert and --key Hurl options :

$ hurl --cert file.crt.pem --key file.key.pem test.hurl

?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Taoaozw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants