Skip to content

Commit

Permalink
Update lestencrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
Lizsvr committed Jan 30, 2023
1 parent 428f614 commit 3dbd3ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions backup/set-br.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ from [email protected]
password yourpaswordapp
logfile ~/.msmtp.log
EOF
chown -R www-data:www-data /etc/msmtprc
cd /usr/bin
#wget -O autobackup "https://${akbarvpn}/autobackup.sh"
wget -O addemail "https://${akbarvpn}/addemail.sh"
wget -O changesend "https://${akbarvpn}/changesend.sh"
Expand Down
6 changes: 3 additions & 3 deletions ssh/addhost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ chronyc tracking -v
mkdir -p /etc/xray
sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill
cd /root/
wget https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh
curl https://get.acme.sh | sh
bash acme.sh --install
rm acme.sh
cd .acme.sh
bash acme.sh --set-default-ca --server letsencrypt
bash acme.sh --register-account -m [email protected]
bash acme.sh --issue --standalone -d $domain --force
bash acme.sh --issue --standalone -d $domain--force
bash acme.sh --installcert -d $domain --fullchainpath /etc/xray/xray.crt --keypath /etc/xray/xray.key
sleep 3
8 changes: 4 additions & 4 deletions ssh/certsslh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ domain=$IP
systemctl enable xray.service
sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill
cd /root/
wget -O acme.sh https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh
curl https://get.acme.sh | sh
bash acme.sh --install
rm acme.sh
cd .acme.sh
echo "starting...., Port 80 Akan di Hentikan Saat Proses install Cert"
bash acme.sh --set-default-ca --server letsencrypt
bash acme.sh --register-account -m [email protected]
bash acme.sh --issue --standalone -d $domain --force
bash acme.sh --issue --standalone -d $domain--force
bash acme.sh --installcert -d $domain --fullchainpath /etc/xray/xray.crt --keypath /etc/xray/xray.key
sleep 3
restart

0 comments on commit 3dbd3ec

Please sign in to comment.