Add instructions for taskserver certs renewal

This commit is contained in:
Florent Guiotte 2024-04-22 20:46:59 +02:00
parent 89094b592a
commit 33994008e4

View File

@ -6,14 +6,15 @@ Written with the help of
## Certs renewal
*do we need to remove volumes?:*
- *do we need to remove volumes?:* Yes!
Once a year recreate the container and copy the `client_certs` dir! On the server:
```shell
docker volume rm docker_taskserver-certs docker_taskserver-data
dcc stop taskserver && dcc rm taskserver && docker volume rm docker_taskserver-certs docker_taskserver-data && dcu
```
Once a year recreate the container and copy the `client_certs` dir! On
the client:
On the client:
```shell
scp -r florent@dm.guiotte.fr:~/docker/taskserver/client_certs/* ~/.config/task/certs