Skip to content

能否增加对带ssl key请求的支持? #84

@CATT-L

Description

@CATT-L
<?php


	curl_setopt($ch, CURLOPT_SSLCERTTYPE, 'PEM');
	curl_setopt($ch, CURLOPT_SSLCERT, $this->certPath);
	curl_setopt($ch, CURLOPT_SSLKEYTYPE, 'PEM');
	curl_setopt($ch, CURLOPT_SSLKEY, $this->keyPath);

https://curl.haxx.se/libcurl/c/CURLOPT_SSLKEY.html

看过代码现在只支持带 ssl cert 的请求, 但不支持 ssl key

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions