Menu Close

Cara Memasang dan Upgrade SSL

Cara Memasang SSL

# cd /etc/nginx/sites-available
# yum update\napt-get update
# apt-get update -y\ncat domain.com
# sudo apt-get install software-properties-common python-software-properties
# sudo apt-get install letsencrypt
# sudo add-apt-repository universe && sudo add-apt-repository ppa:certbot/certbot
# sudo apt-get update && sudo apt-get install certbot python-certbot-nginx
# cat /etc/nginx/sites-available/domain.com

Cara Upgrade SSL

# sudo certbot certonly --manual --preferred-challenges=dns --email zahra@gmail.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d domain.com -d *.domain.com 
# /etc/init.d/nginx reload