Skip to content

Instantly share code, notes, and snippets.

View y0an's full-sized avatar

Yoan Rousseau y0an

View GitHub Profile
@zigarn
zigarn / 01-docker-tls.sh
Last active October 30, 2022 08:42
Generate Docker certificates for training on TLS
# Configuration
export PUBLIC_DNS=<public hostname>
export PUBLIC_IP=<public host IP>
export PRIVATE_IP=<private host IP>
mkdir docker-ca
chmod 0700 docker-ca/
cd docker-ca/
# CA key