Closed ulug79 closed 4 years ago
Just curious, what's the use case where the certificate names are an issue?
I am using traefik 2.2 with letsencrypt certificate wildcard generation. A special container extracts the certificate in json format and puts them in a folder named cert.pem, fullchain.pem and key.pem
at home i am using Unifi Controller container from https://hub.docker.com/r/jacobalberty/unifi
and in it you can set non-standard names through environment variables
Are you expecting to just be able to update the certificate name or the whole path? I am assuming just the file name based on the Unifi example.
For example in Unifi Controller i mount certficate folder as volume in container, In enviroment variable I just indicate the different name. Please create 2 environent variable for full chain name and key name. Thanks.
For example: If your certificate or private key have different names, you can set the environment variables CERTNAME and CERT_PRIVATE_NAME to the name of your certificate/private key, e.g. CERTNAME=my-cert.pem and CERT_PRIVATE_NAME=my-privkey.pem.
👍 Sounds good. #61 should resolve this and add the ability to have custom names.
Please add environment variables for customizing certificate names