You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verify if host will have Let's encrypt certificate validation problems
Running the script inside a docker container
If you wish to test whether your docker container won't have issues when the old Root certificate expires, you can run the script inside the container itself.
In order to do this, follow these steps:
Download the verify-lets-encrypt.sh script from the gist
Bring up your application container as you usually do - with docker-compose up, docker run, via VS Code etc
Run docker ps, and look for any application containers that are up; the NAMES column is the easiest for that
From the same folder where you've downloaded the script, run docker exec -i /bin/sh < verify-lets-encrypt.sh; this will run the script inside the container