From 534dc78750023511076cf05517ecb7969e0431d0 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 12 Nov 2020 00:43:19 -0800 Subject: [PATCH] Bash script to copy certs to toy --- bin/send-toy-certs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/send-toy-certs diff --git a/bin/send-toy-certs b/bin/send-toy-certs new file mode 100755 index 0000000..f46ed5f --- /dev/null +++ b/bin/send-toy-certs @@ -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