Skip to content

Instantly share code, notes, and snippets.

@chetanppatil
Last active May 10, 2019 09:45
Show Gist options
  • Save chetanppatil/5c973607eaacfdb1381ccdb6f6c83f26 to your computer and use it in GitHub Desktop.
Save chetanppatil/5c973607eaacfdb1381ccdb6f6c83f26 to your computer and use it in GitHub Desktop.
curl: (77) Problem with the SSL CA cert (path? access rights?)
mkdir /usr/src/ca-certificates && cd /usr/src/ca-certificates
# Check for your Centos Version using this command: "cat /etc/redhat-release" and download respective ca-certificate
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/ca-certificates-2018.2.22-70.0.el7_5.noarch.rpm
rpm2cpio ca-certificates-2018.2.22-70.0.el7_5.noarch.rpm | cpio -idmv
cp -pi ./etc/pki/tls/certs/ca-bundle.* /etc/pki/tls/certs/
Confirm that curl -vvv https://www.unixy.net is now working as expected
#https://stackoverflow.com/questions/44458410/gitlab-ci-runner-ignore-self-signed-certificate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment