Skip to content

libcURL.Default_CA_File

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

libcURL.Default_CA_File

Method Signature

 Protected Function Default_CA_File() As FolderItem

Return value

A FolderItem referencing a file in the user's temporary files folder which contains a default list of trusted certificate authorities. This file will be automatically deleted when (and if) the application quits gracefully.

Remarks

The returned file contains the default CA list for Mozilla products. Pass the FolderItem to an EasyHandle to use the CA list for all connections made through the EasyHandle.

To generate an updated Mozilla CA file use one of these two scripts:

License

The default CA file is subject to the terms of the Mozilla Public License 2.0

Example

 Dim curl As New libcURL.EasyHandle
 curl.CA_ListFile = libcURL.Default_CA_File

See also:

Clone this wiki locally