-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.ProxyEngine.Secure
libcURL.ProxyEngine.Secure
Dim Secure As Boolean
This property controls whether libcURL validates SSL/TLS certificates of proxy servers before establishing a connection. It does not affect whether SSL/TLS will be used in the first place.
If set to True
(the default), libcURL will verify that certificates are both valid for the proxy and signed by an authority listed in CA_List
or CA_ListFile
; if neither CA_List
nor CA_ListFile
are set then all proxied connections will fail.
If the proxy's hostname does not match the hostname on the certificate, then the error code for the transfer will be CURLE_PEER_FAILED_VERIFICATION
(51). If the certificate is not signed by a trusted certificate authority then the error code will be CURLE_SSL_CACERT
(60).
If set to False
then libcURL will not verify SSL certificates when establishing a proxy connection over HTTPS.
- CURLOPT_PROXY_SSL_VERIFYPEER in the libcURL documentation.
- CURLOPT_PROXY_SSL_VERIFYHOST in the libcURL documentation.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.