-
Notifications
You must be signed in to change notification settings - Fork 34
External Command: curl
Reference page: https://curl.haxx.se/docs/caextract.html
If you communicate with HTTPS or other TSL-using servers, your communication may fail if you don't have a CA certificate file.
You can obtain your own certificate and put it at the location indicated by the environment variable $SSL_CERT_FILE
.
Or if you don't have any clue, the curl
project generously maintains a CA certificate extracted from Mozilla
, and you can download it using curl
:
curl -kOL https://curl.haxx.se/ca/cacert.pem
and put it at location indicated by $SSL_CERT_FILE
.
Since this certificate file is updated occasionally, you can update it only when necessary through:
curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem
Other details please refer to the reference page.