📜  nginx 的免费 ssl 证书 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.931000             🧑  作者: Mango

代码示例1
# add repository
sudo apt-add-repository -r ppa:certbot/certbot

# update system
sudo apt update

# install certbot
sudo apt install certbot python3-certbot-nginx

# generate and create SSL for server 
certbot --nginx -d example.com -d www.example.com