-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Docker container's expected certificate names, tls_cert.pem and tls_key.pem #350
Comments
So something like this
is desired?
|
Yep, something like that.
I was more suggesting that if there isn't a reason to have the current names why not use the ones that don't require any renaming(/sed'ing). |
There is a reason for putting configuration in /data* and then I just went with putting TLS keys there as well. * this locks configuration on first image use - exact config file contents are -not- covered by any compatibility promises. |
I suggest to avoid sed-patching configuration in Dockerfile. It'd be better if the config embedded in the image was accessible in separate file in repo, rather than having to poke around in the image to extract it. |
With the introduction of built-in ACME client, this issue is probably much less relevant. Howver, I will change default names to /data/tls/fullchain.pem, /data/tls/privkey.pem and put the maddy.conf used by Docker image in the repo. |
* Use TLS filenames same as certbot (see foxcpp#350). * Put the Docker-specific maddy.conf in the repo (see foxcpp#350). * Set OCI labels for the image in CI * Move Docker-specific documentation from Docker Hub into docs/ * Add .dockerignore
Use case
Currently the docker container expects the certificates to be named
tls_cert.pem
andtls_key.pem
but Certbot stores the two ascert.pem
andprivkey.pem
. I guess reconfiguration is also possible, but why require that if it's possible not to.Your idea for a solution
It would just be really nice if reconfiguration could be avoided and the defaults allow very comfy and seamless mount+usage of Certbot's files.
The text was updated successfully, but these errors were encountered: