nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ cloud_service_utils_provision_ca_certificates()

int cloud_service_utils_provision_ca_certificates ( void )

Provision TLS certificate that the selected location service requires for HTTPS connections. The certificate must be provisioned before location requests can be executed successfully, either using this API or some other method.

Note
The certificate must be provisioned when LTE is not active in the modem. Call this API before setting up the LTE link in an application, or set the modem in offline mode before provisioning.
Returns
0 on success, or negative error code on failure.