Skip to content

libcURL.ProxyEngine.Secure

Andrew Lambert edited this page Nov 26, 2022 · 3 revisions

Property Declaration

 Dim Secure As Boolean

Remarks

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_ListFile; if CA_ListFile is not 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.

See also

Clone this wiki locally