CURL传递SSL证书和密码
问题描述:
我需要用CURL指定一个证书,我尝试了--cert选项它不工作。
I need to specify a certificate with CURL i tried with --cert option it is not working.
请让我知道指定keystore和passpharse同时调用curl?
Could you please let me know to specify the keystore and passpharse while invoking with curl?
答
应为:
curl --cert certificate_file.pem:password https://www.example.com/some_protected_page