1
0
Fork 0

CurlDownloader enable support for SSL-client certificates

pull/9384/head
Ilia Urvachev 2020-10-30 17:03:21 +03:00 committed by GitHub
parent da90410181
commit 4faaf79b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ class CurlDownloader
'capath' => CURLOPT_CAPATH,
'verify_peer' => CURLOPT_SSL_VERIFYPEER,
'verify_peer_name' => CURLOPT_SSL_VERIFYHOST,
'local_cert' => CURLOPT_SSLCERT,
'local_pk' => CURLOPT_SSLKEY,
'passphrase' => CURLOPT_SSLKEYPASSWD,
),
);