home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WIP.
[config]
/
all_new_2018
/
letsencrypt_local_set.sh
diff --git
a/all_new_2018/letsencrypt_local_set.sh
b/all_new_2018/letsencrypt_local_set.sh
index 7030b575e0f5009f747cae08866473909ca02b75..5fdf7036b5596c5267f653094826e2e6cb028357 100755
(executable)
--- a/
all_new_2018/letsencrypt_local_set.sh
+++ b/
all_new_2018/letsencrypt_local_set.sh
@@
-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