Add README.md to acme-tools
This commit is contained in:
parent
fc43b10731
commit
4e6616e87c
|
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue