Create letsencrypt.sh
This commit is contained in:
parent
828cba2f47
commit
f95c6a02f7
|
|
@ -0,0 +1,9 @@
|
||||||
|
domain_name=subdomain.domain.com
|
||||||
|
email=username@domain.com
|
||||||
|
|
||||||
|
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
|
||||||
|
/opt/letsencrypt
|
||||||
|
chmod 755 /opt/letsencrypt /opt/letsencrypt
|
||||||
|
/etc/letsencrypt/./certbot-auto
|
||||||
|
mkdir -p /etc/letsencrypt/configs
|
||||||
|
echo "" > /etc/letsencrypt/configs/$domain_name
|
||||||
Loading…
Reference in New Issue