Comments (2)
I think the issue is displaying/reporting only. "disable ssl configuration" step needed only to run nginx for the first time before initial certificates generated.
If this the issue you see (i.e. everything is working, certs updating but error message appearing on refresh) it can be fixed by adding a check for cert presence or just by suppressing the error with 2> /dev/null
from nginx-le.
@olha-yukhno, thank you for the report! I've managed to replicate this by killing "sleep 10d" in the container:
nginx | start letsencrypt updater
nginx | trying to update letsencrypt ...
nginx | letsencrypt certificate /etc/nginx/ssl/le-crt.pem still valid
nginx | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d'
nginx | reload nginx with ssl
nginx | 2019/08/14 18:21:16 [notice] 34#34: signal process started
nginx | Terminated
nginx | trying to update letsencrypt ...
nginx | letsencrypt certificate /etc/nginx/ssl/le-crt.pem still valid
nginx | mv: can't rename '/etc/nginx/conf.d.disabled': No such file or directory
nginx | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d/conf.d.disabled'
nginx | reload nginx with ssl
nginx | 2019/08/14 18:21:57 [notice] 62#62: signal process started
nginx | Terminated
nginx | trying to update letsencrypt ...
nginx | letsencrypt certificate /etc/nginx/ssl/le-crt.pem still valid
nginx | mv: can't rename '/etc/nginx/conf.d.disabled': No such file or directory
nginx | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d/conf.d.disabled'
nginx | reload nginx with ssl
nginx | 2019/08/14 18:22:07 [notice] 80#80: signal process started
Command above silently removes file and don't write anything in case there is no file to remove. To make behavior consistent I'll prepare PR which silences this message as well.
from nginx-le.
Related Issues (20)
- Support multiple domains (domain1.com, domain2.org, example.ru) HOT 6
- Possibility to add domain/change configuration without long recreation container HOT 5
- requests LE certificate and will refresh every 10 days .. HOT 2
- gen a wild certificate ? (support dns challenge) HOT 4
- Please upgrade your ACME client to a version that supports ACMEv2 HOT 2
- sh: 0: unknown operand HOT 6
- SSL lab grade is B HOT 1
- Certificate is not renewed during runtime, but after restart it got renewed HOT 3
- "BEGIN TRUSTED CERTIFICATE" is expected HOT 36
- ocsp.int-x3.letsencrypt.org could not be resolved HOT 8
- postgresql secure upstream HOT 5
- image cannot be gracefully stopped HOT 2
- Challenge failed for domain HOT 4
- How can I get multiple certificates for different services? HOT 4
- Update nginx image up to 1.20.1, cause: 1.19 contains security issue
- Update "LE_FQDN" without restart? HOT 1
- failed to run certbot HOT 11
- How to change conf for multiple domains? HOT 1
- Make preferred chain configurable HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-le.