Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save john-auld/0595359af23942de8c7ffba572a24519 to your computer and use it in GitHub Desktop.
Save john-auld/0595359af23942de8c7ffba572a24519 to your computer and use it in GitHub Desktop.
colima add CA cert
colima ssh -psandbox -- sudo sh -c "openssl s_client -showcerts -connect pkg-containers.githubusercontent.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > /usr/local/share/ca-certificates/gh.crt && update-ca-certificates && cat /var/run/docker.pid | xargs kill"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment