22 lines
323 B
Markdown
22 lines
323 B
Markdown
|
|
|
|
## 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
|
|
```
|
|
|
|
|