Bash script to copy certs to toy

This commit is contained in:
Buddy Sandidge 2020-11-12 00:43:19 -08:00
parent a51d8e46d6
commit 534dc78750

4
bin/send-toy-certs Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
sudo systemctl start lego@toy.xbudex.com.service
scp /etc/ssl/certificates/toy.xbudex.com.crt toy.xbudex.com:AppData/Local/Syncthing/https-cert.pem
scp /etc/ssl/certificates/toy.xbudex.com.key toy.xbudex.com:AppData/Local/Syncthing/https-key.pem