1
0
docker-letsencrypt-nginx-pr.../docs/Container-utilities.md

23 lines
870 B
Markdown
Raw Permalink Normal View History

2021-04-04 22:58:22 +02:00
The container provide the following utilities (replace `nginx-proxy-acme` with the name or ID of your **acme-companion** container when executing the commands):
2019-01-11 18:58:49 +01:00
### Force certificates renewal
2021-04-04 22:58:22 +02:00
If needed, you can force a running **acme-companion** container to renew all certificates that are currently in use with the following command:
2019-01-11 18:58:49 +01:00
```bash
2021-04-04 22:58:22 +02:00
$ docker exec nginx-proxy-acme /app/force_renew
2019-01-11 18:58:49 +01:00
```
### Manually trigger the service loop
You can trigger the execution of the service loop before the hourly execution with:
```bash
2021-04-04 22:58:22 +02:00
$ docker exec nginx-proxy-acme /app/signal_le_service
2019-01-11 18:58:49 +01:00
```
Unlike the previous command, this won't force renewal of certificates that don't need to be renewed.
### Show certificates informations
To display informations about your existing certificates, use the following command:
```bash
2021-04-04 22:58:22 +02:00
$ docker exec nginx-proxy-acme /app/cert_status
2019-01-11 18:58:49 +01:00
```