curl: (58) Unable to load client key -8178

前端 未结 2 509
情话喂你
情话喂你 2021-02-01 16:53

I am facing an SSL issue with the curlcommand. I want to reach an URL using my SSL client certificate and private key.

This is my command:

$         


        
2条回答
  •  别那么骄傲
    2021-02-01 17:49

    If your certificate has a passphrase you should add it after the certificate name:

    curl -k -v "https://myurl.com/" --cert ./certificate.pem:passphrase --key ./private.key
    

提交回复
热议问题