User Tools

Site Tools


letsencrypt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

letsencrypt [2020/06/04 16:43]
admin
letsencrypt [2021/05/31 11:52] (current)
Line 1: Line 1:
-== new ==+== new certificate ​==
 <​code>/​usr/​bin/​certbot --nginx certonly -d yourdomain.com --deploy-hook /​usr/​local/​sbin/​push_to_confiared.sh</​code>​ <​code>/​usr/​bin/​certbot --nginx certonly -d yourdomain.com --deploy-hook /​usr/​local/​sbin/​push_to_confiared.sh</​code>​
  
 == add new for nginx == == add new for nginx ==
-<​code> ​               ssl_protocols ​      TLSv1 TLSv1.1 TLSv1.2; +<​code>​ssl_protocols ​      TLSv1 TLSv1.1 TLSv1.2; 
-                ssl_ciphers ​        ​HIGH:​!aNULL:​!MD5;​ +ssl_ciphers ​        ​HIGH:​!aNULL:​!MD5;​ 
-                listen 443 ssl http2; +listen 443 ssl http2; 
-                listen [::]:443 ssl http2; +listen [::]:443 ssl http2; 
-                ssl_certificate ​     /​etc/​letsencrypt/​live/​yourdomain.com/​fullchain.pem;​ +ssl_certificate ​     /​etc/​letsencrypt/​live/​yourdomain.com/​fullchain.pem;​ 
-                ssl_certificate_key ​ /​etc/​letsencrypt/​live/​yourdomain.com/​privkey.pem;</​code>​+ssl_certificate_key ​ /​etc/​letsencrypt/​live/​yourdomain.com/​privkey.pem;</​code>​
  
 == renew for apache == == renew for apache ==
letsencrypt.txt · Last modified: 2021/05/31 11:52 by admin