Make sure to run this command to upgrade pip before starting:
pip install --upgrade pip
Optionally, you can upgrade Let's Encrypt:
cd /usr/share/letsencrypt/
git pull
Replace SERVER_NAME
with the website address.
service nginx stop
/usr/share/letsencrypt/letsencrypt-auto certonly \
-a standalone \
-d www.SERVER_NAME \
-d SERVER_NAME \
--server https://acme-v01.api.letsencrypt.org/directory
service nginx start
Or try this experimental approach:
/usr/share/letsencrypt/letsencrypt-auto certonly \
-a nginx \
-d www.SERVER_NAME \
-d SERVER_NAME \
--server https://acme-v01.api.letsencrypt.org/directory
When running the Let's Encrypt with, it requires installing the NGINX plugin:
cd /usr/share/letsencrypt/
~/.local/share/letsencrypt/bin/pip install -U letsencrypt-nginx
Let's Encrypt allows renewing using:
/usr/share/letsencrypt/letsencrypt-auto renew
- Files are located in
conf/