A CA list holds the root certificates the switch trusts when it verifies the certificate of a TLS peer, for example a vendor that receives calls over SIP TLS. These methods do the same as System Management → SSL Management → CA Lists in the panel. They are available to the root customer.
All methods support trusted mode with i_customer; pass 1, the root customer.
The fields of a CA list, as createCAList takes them and getCAListInfo returns them:
Name
Type
Description
i_ca_list
int
ID of the CA list. Returned only
name
string
Name of the CA list
i_ca_list_type
int
1Uploaded: the certificates are stored on the switch; 2Local Folder: the certificates are read from a folder on the server. The ca_list_types dictionary of getDictionary lists the values
i_ssl_use_domain_type
int
What the list is used for, Use Domain in the panel: 1 Web/HTTPS, 2 SIP TLS, 3 STIR/SHAKEN
ca_list
string
For type 1, the CA certificates in PEM format, base64-encoded. For type 2, the path of the folder on the server