Connecting to HTTPS servers with cURL or programs using cURL such as Matlab requires cURL knowing the location of system certificates. If cURL doesn’t know the certificates location, accessing HTTPS URLs may fail with:
curl: (77) error setting certificate verify locations: curl can't find your certificates.
Fix this problem by setting environment variable
SSL_CERT_FILE to the location of the system certificates.
Example file locations include:
For Linux, assuming the certificate file is known, set in ~/.profile: