Generate mutiple certificate for a root CA certificate
hostnames=$IP1,$IP2
docker run -v $PWD/certs:/certs yboyer/certgen $hostnames
certs
├── ca-key.pem
├── ca.pem
├── <hostnames>-key.pem
└── <hostnames>.pem
Træfik needs CAs for backends calls (RootCAs). This tool can generate mutiple certificates for one self-signed root CA certificate.