home · contact · privacy
Reduce scope of letsencrypt.sh script.
[config] / all_new_2018 / letsencrypt_local_set.sh
index 7030b575e0f5009f747cae08866473909ca02b75..5fdf7036b5596c5267f653094826e2e6cb028357 100755 (executable)
@@ -6,7 +6,10 @@ if [ $# -lt 1 ]; then
     echo "Need mail address as argument."
     false
 fi
-domain="$1"
+mail_address="$1"
+
+# We need certbot to get LetsEncrypt certificates.
+apt install -y certbot
 
 # If port 80 blocked by iptables, open it.
 set +e