CURL传递SSL证书和密码 [英] CURL to pass SSL certifcate and password

查看:435
本文介绍了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

这篇关于CURL传递SSL证书和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆