Compare commits
2 Commits
4c5213a194
...
e76590600c
| Author | SHA1 | Date |
|---|---|---|
|
|
e76590600c | |
|
|
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