Closed soy-programador-mx closed 1 month ago
@soy-programador-mx did you try using LETS_ENCRYPT_CLEAR_OLD_CERTS as enviorment variable?
Hello @soy-programador-mx @MrCybertux,
The new 1.5.10 release should now regenerate the certificates when switching between prod and staging environments.
Don't hesitate to test it and give us some feedbacks.
What happened?
The SSL certificate is always in a staging mode in Docker
How to reproduce?
Specifying the staging environment with the variable USE_LETS_ENCRYPT_STAGING=yes
Containers are started: docker compose up -d
Bunkerweb is tested and configured. We want to move to production by removing the variable USE_LETS_ENCRYPT_STAGING from the docker-compose.yml file.
Containers are removed: docker compose down.
Containers are started again: docker compose up -d.
The SSL certificate continues to be generated in test mode.
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.5.8
What integration are you using?
Docker
Linux distribution (if applicable)
Amazon Linux 2
Removed private data
Code of Conduct