CFSSL docker-compose configuration to use with docker-devbox.
It allows to generate certificates from a 3 level chain (Root CA, Intermediate CA, End-User CA)
docker-compose up
- From server shell
dc exec intermediate sh
H=eqo.app # Domaine name of the certificate
cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname "$H,*.$H" ca_intermediate_config.json | cfssljson -bare "$H"
cat ca.pem >> "$H.pem"
exit
- From REST API with cfssl-cli
- From server shell
dc exec root cat /etc/cfssl/ca.pem