From 9b763d3ba247dd3c570322e401c6e791e4a50a49 Mon Sep 17 00:00:00 2001 From: The StarOpenSource Project Date: Fri, 15 Mar 2024 02:17:56 +0100 Subject: [PATCH] Simplify certficate installation process --- soscmd-getcert | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 soscmd-getcert diff --git a/soscmd-getcert b/soscmd-getcert new file mode 100755 index 0000000..6636829 --- /dev/null +++ b/soscmd-getcert @@ -0,0 +1,6 @@ +#!/bin/bash +if [ "$*" == "" ]; then + echo ":: Error: No certificate given" + exit 1 +fi +yes "$*"|certbot certonly --standalone