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
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,13 +168,21 @@ If you want to create test certificates that don't have the 5 certs/week/domain
168
168
Every hour (3600 seconds) the certificates are checked and every certificate that will expire in the next [30 days](https://github.com/kuba/simp_le/blob/ecf4290c4f7863bb5427b50cdd78bc3a5df79176/simp_le.py#L72) (90 days / 3) are renewed.
169
169
170
170
##### Force certificates renewal
171
-
172
171
If needed, you can force a running letsencrypt-nginx-proxy-companion container to renew all certificates that are currently in use. Replace `nginx-letsencrypt` with the name of your letsencrypt-nginx-proxy-companion container in the following command:
173
172
174
173
```bash
175
174
$ docker exec nginx-letsencrypt /app/force_renew
176
175
```
177
176
177
+
##### Force certificates renewal
178
+
To display informations about your existing certificates, use the following command:
179
+
180
+
```bash
181
+
$ docker exec nginx-letsencrypt /app/cert_status
182
+
```
183
+
184
+
As for the forced renewal command, replace `nginx-letsencrypt` with the name of your letsencrypt-nginx-proxy-companion container.
185
+
178
186
##### ACME account keys
179
187
By default the container will save the first ACME account key created for each ACME API endpoint used, and will reuse it for all subsequent authorizations and issuances requests made to this endpoint. This behavior is enabled by default to avoid running into Let's Encrypt account [rate limits](https://letsencrypt.org/docs/rate-limits/).
180
188
@@ -213,8 +221,6 @@ $ docker run -d \
213
221
214
222
* The `com.github.jrcs.letsencrypt_nginx_proxy_companion.docker_gen` label - set this label on the docker-gen container to tell the docker-letsencrypt-nginx-proxy-companion container to use it as the docker-gen when it's split from nginx (separate containers).
215
223
216
-
*`ACME_TOS_HASH` - Let´s you pass an alternative TOS hash to simp_le, to support other CA´s ACME implentation.
217
-
218
224
*`DOCKER_PROVIDER` - Set this to change behavior on container ID retrieval. Optional. Current supported values:
219
225
* No value (empty, not set): no change in behavior.
220
226
*`ecs`[Amazon ECS using ECS_CONTAINER_METADATA_FILE environment variable](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-metadata.html)
echo"Error: can't get nginx-proxy container id !">&2
54
-
echo"Check that you use the --volumes-from option to mount volumes from the nginx-proxy or label the nginx proxy container to use with 'com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true'.">&2
0 commit comments