
PHP-CURL携带证书请求HTTPS
php中的curl请求只支持pem、der、eng格式的证书,所以如果证书不是以上几种格式的话,就需要转换格式了。
1 |
openssl pkcs12 -nocerts -nodes -in yunyin.p12 -out yunyin_private.pem |
1 |
$url = 'https://frmmo1.my4399.com/f2_admin/index.php'; |

php中的curl请求只支持pem、der、eng格式的证书,所以如果证书不是以上几种格式的话,就需要转换格式了。
1 |
openssl pkcs12 -nocerts -nodes -in yunyin.p12 -out yunyin_private.pem |
1 |
$url = 'https://frmmo1.my4399.com/f2_admin/index.php'; |
近期评论