Skip to content

libcURL.EasyHandle.CA_List

Andrew Lambert edited this page Jan 7, 2023 · 4 revisions

Property Declaration

 Dim CA_List As MemoryBlock

Remarks

Note: This feature was added in libcurl 7.77.0 and might not be available from all supported TLS backends.

Gets and sets a MemoryBlock containing one or more certificate authorities libcURL should trust to verify the peer with. Set this to DEFAULT_CA_INFO_PEM to use the default CA list for Mozilla products. Set this to Nil to unset the current list.

This property overrides the EasyHandle.CA_ListFile property if both are set. EasyHandle.Secure must be set to True to enable certificate verification.

If you intend to use the same CA list with multiple instances of EasyHandle simultaneously then you ought to use same MemoryBlock reference for all instances to avoid duplicating the CA list data in memory.

See also

Clone this wiki locally