Curl Error in Debian (jessie) Environment: (60)

Asked 2 years ago, Updated 2 years ago, 122 views

When I tried to install anaconda via pyenv, I got the following error:The environment is Debian (jessie).

/tmp/python-build.20160326063823.3417 to
curl:(60) SSL certificate problem:enable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performances SSL certificate verification by default, using a "bundle"
  of Certificate Authority (CA) public keys (CA certificates).If the default
  bundle file isn't estimate, you can specify an alternate file
  using the --cacert option.
 If this HTTPS server uses a certificate signed by a CA presented in
  the bundle, the certificate verification probably failed due to a
  problem with the certificate (it right be expired, or the name right)
  not match the domain name in the URL).
 If you'd like to turn off curl's verification of the certificate, use
  the-k(or --insure) option.

I checked and found out that the root certificate is old, so it is an error.
So we pulled the new root certificate from https://curl.haxx.se/ca/cacert.pem and tried to resolve it using the site method shown below.

However, the result remains the same...Please tell me the solution.

ssl debian

2022-09-30 15:01

1 Answers

export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

I'm glad to see you now.


2022-09-30 15:01

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.