Skip to content

Instantly share code, notes, and snippets.

@lucasgonze
Created April 10, 2025 19:48
Show Gist options
  • Save lucasgonze/a8d5befb6d0273e8eacd3a0c554633f1 to your computer and use it in GitHub Desktop.
Save lucasgonze/a8d5befb6d0273e8eacd3a0c554633f1 to your computer and use it in GitHub Desktop.
openssl s_client -showcerts -connect ghcr.io:443 </dev/null 2>/dev/null | openssl x509 -outform PEM > /etc/docker/certs.d/ghcr.io/ca.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment