1
1
Fork 0

Add README.md to acme-tools

This commit is contained in:
Michael Hoess 2024-04-09 21:57:15 +02:00
parent fc43b10731
commit 4e6616e87c
1 changed files with 21 additions and 0 deletions

21
acme/README.md Normal file
View File

@ -0,0 +1,21 @@
## send-cert.sh / rec-cert.sh
> Fetch a cert from the ACME-Server via SSH
### Add to crontab on cert-user-host
```
0 3 * .... /opt/rec-cert.sh gitea git && systemctl restart gitea
```
### Add to authorized keys on ACME-Host
```
command="SYS_SRCS=/opt/srcs /opt/acme/send-cert.sh a.host.net remoteip" ssh-key
```