mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
first commit
This commit is contained in:
commit
5352a2b94a
396 changed files with 10008 additions and 0 deletions
0
system/BASE_SOFT/LETSENCRYPT/scripts/README.md
Normal file
0
system/BASE_SOFT/LETSENCRYPT/scripts/README.md
Normal file
5
system/BASE_SOFT/LETSENCRYPT/scripts/newdomain.sh
Normal file
5
system/BASE_SOFT/LETSENCRYPT/scripts/newdomain.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
DOMAIN=$0
|
||||
certbot certonly --standalone --preferred-challenges http --http-01-port 54321 -d $DOMAIN
|
||||
cat /etc/letsencrypt/live/$DOMAIN/fullchain.pem /etc/letsencrypt/live/$DOMAIN/privkey.pem > /opt/certbot/$DOMAIN.pem
|
7
system/BASE_SOFT/LETSENCRYPT/scripts/renew.sh
Normal file
7
system/BASE_SOFT/LETSENCRYPT/scripts/renew.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
for SITE in $(ls /etc/letsencrypt/live/)
|
||||
do
|
||||
cd /etc/letsencrypt/live/$SITE
|
||||
cat fullchain.pem privkey.pem > /opt/certbot/$SITE.pem
|
||||
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue