aaP_hiperdating
1.Replace the server system root certificate file:
curl --etag-compare etag.txt --etag-save etag.txt --remote-name https://curl.se/ca/cacert.pem
If the prompt does not support etag, use this command
curl --remote-name --time-cond cacert.pem https://curl.se/ca/cacert.pem
2.If the solution of 1 does not work, refer to the current solution:
update-ca-certificates --verbose --fresh
export SSL_CERT_DIR=/etc/ssl/certs
export is to temporarily add variable environment
If you need to add it permanently, modify ~/.bashrc
Add to:
export SSL_CERT_DIR=/etc/ssl/certs
Execute source ~/.bashrc to take effect
update-ca-certificates --verbose --fresh
export SSL_CERT_DIR=/etc/ssl/certs
The above two commands can be solved, export is to temporarily add variable environment
If you need to add it permanently, modify ~/.bashrc
Add: export SSL_CERT_DIR=/etc/ssl/certs
Execute source ~/.bashrc to take effect