stono / docker-nginx-letsencrypt Goto Github PK
View Code? Open in Web Editor NEWThis is a docker container which automatically generates letsencrypt SSL certificates for you too.
License: Apache License 2.0
This is a docker container which automatically generates letsencrypt SSL certificates for you too.
License: Apache License 2.0
Looks like the LetsEncrypt Terms of Service has changed recently, which is causing an issue when generating new certs via the simp_le library bundled in:
INFO:simp_le:1213: Generating new account key
TOS hash mismatch. Found: cc88d8d9517f490191401e7b54e9ffd12a2b9082ec7a1d4cec6101f9f1647e7b
Worked around it by cloning the repo and updating scripts/generate_letsencrypt.sh
to reflect the new hash above / rebuild / push.
This has been working well for me for a while now, but I found that the certificates didn't renew in the last couple of weeks, so I just manually stopped/started the image and then it renewed the certs ok.
The readme hints that renewal only happens on startup, is this true? Is there a way to trigger a renewal without restarting the image?
For some other images I use a cron entry on the host to run a docker-exec command inside a desired container periodically. I can't see what single command I could run though, other than calling generate_letsencrypt.sh with each FQDN, or simply restarting the image.
Is there a recommended way? Is the image expected to just be restarted every week or so?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.