Repo init reports an error [SSL: certificate_verify_failed] certificate verify failed
The complete error information is shown in the figure below:
According to the online method, I tried export pythonhttsverify = 0
and still reported an error
Try the following method to set the environment variable SSL_CERT_Dir
, problem solving, you might as well try it.
$ sudo update-ca-certificates --fresh
$ export SSL_CERT_DIR=/etc/ssl/certs
Read More:
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed [Solved]
- [Solved] Git Clone Error: error setting certificate verify locations
- [Solved] svn Error: E230001: Server SSL certificate verification failed: certificate issued
- SVN Error:svn: E230001: Server SSL certificate verification failed: certificate issued
- Mac IDEA Connect SVN Error: E230001: Server SSL certificate verification failed: certificate issued
- [Solved] pod CDN: trunk Repo update failed – 56 error(s):
- [Solved] FlutterIOS CDN trunk Repo update failed – 34 error(s)
- git submodule add Error: SSL certificate problem unable to get local issuer certificate
- [Solved] Error: Failed to download metadata for repo ‘docker-ce-stable‘: Cannot download repomd.xml:
- [vite] http proxy error: Error: self signed certificate in certificate chain vite
- [Solved] dockerfile Build Image Error: Error: Failed to download metadata for repo ‘appstream’…
- [Solved] k8s kubeadmin init Error: http://localhost:10248/healthz‘ failed
- [Solved] CentOS 6 yum update Error: Cannot find a valid baseurl for repo: base
- [Solved] Rancher Add User Error: x509: certificate has expired Internal error occurred: failed calling webhook “rancherauth.cattle.io”:
- [Solved] Error response from daemon: Get “*“: x509: certificate signed by unknown authority
- [Solved] Jenkins-ERROR: Error cloning remote repo ‘origin‘
- [Solved] Android HTTPS request resource or interface error: server certificate
- [Solved] ROS sudo rosdep init error: could not be downloaded
- jenkenis ERROR: Error fetching remote repo ‘origin‘ [How to Solve]
- How to Solve Maven Error: Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.ap