Curl: (60) Peer's Certificate has expired
I was trying to Download the File using Curl and I am Facing the Following error, I've tried updating the Package But still same Problem.
curl: (60) Peer's Certificate has expired. More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might 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 --insecure) option. curl is unable to connect to packagecloud.io over TLS when running: curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.repo?os=centos&dist=7&source=script This is usually due to one of two things: 1.) Missing CA root certificates (make sure the ca-certificates package is installed) 2.) An old version of libssl. Try upgrading libssl on your system to a more recent version