Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Instal Let's Encrypt Acme.sh Openlitespeed
- Choose One Method
- Curl method
- curl https://get.acme.sh | sh
- Wget Method
- wget -O - https://get.acme.sh | sh
- Git Method
- git clone https://github.com/acmesh-official/acme.sh.git
- cd ./acme.sh
- ./acme.sh --install
- 2. Issuing the Let's Encrypt Acme.sh Certificate
- Here's a guide on what to do:
- source ~/.bashrc
- acme.sh --version
- /root/.acme.sh/acme.sh --set-default-ca --server letsencrypt
- domain="yourdomain.com" ; /root/.acme.sh/acme.sh --issue -d "$domain" -d www."$domain" -w /usr/local/lsws/Example/html/wordpress/ (Customize Directory path)
- Wait for the process to complete.
- 3. Automatically Update Let's Encrypt Acme.sh Certificate
- One of the reasons to use Acme.sh is its ability to automatically extend the certificate's validity period.
- acme.sh --renew -d namadomain.com --force
- or
- acme.sh --renew -d namadomain.com --force --ecc
- Wait for the process to complete.
Advertisement
Add Comment
Please, Sign In to add comment