https 证书 免费SSL证书 FREE
Let’s Encrypt 免费 自动续订 证书
https://letsencrypt.org/
yum install epel yum install certbot python3-certbot-nginx certbot --nginx -d yourdomain.com -d www.yourdomain.com certbot renew --quiet #Renew Automatically server { listen 80; server_name yourdomain.com www.yourdomain.com; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name yourdomain.com www.yourdomain.com; ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; root /var/www/html; index index.html; }
本地 SSL 证书生成神器,轻松解决 https
mkcert 工具
浙公网安备 33010602011771号