Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
tips:ssl [2019/02/22 14:55] – [certbot] scipiotips:ssl [2020/08/17 11:17] – [certbot] scipio
Line 17: Line 17:
 </code> </code>
  
 +wildcard 
 +<code> 
 +certbot certonly \ 
 + --manual \ 
 + --preferred-challenges=dns \ 
 + --email stefano.scipioni@csgalileo.org \ 
 + --server https://acme-v02.api.letsencrypt.org/directory \ 
 + --agree-tos -d *.iotaiuto.it 
 +</code>
 ==== nginx ==== ==== nginx ====
  
Line 42: Line 50:
     server_name nnextcloud.csgalileo.org;     server_name nnextcloud.csgalileo.org;
          
 +    ssl_certificate /etc/letsencrypt/live/nextcloud.csgalileo.org/fullchain.pem;
 +    ssl_certificate_key /etc/letsencrypt/live/nextcloud.csgalileo.org/privkey.pem;
 +  
 } }
 </file> </file>
 +
 +renew
 +<code>
 +certbot renew [--dry-run]
 +</code>
 +
 +automatic renew
 +<code>
 +systemctl status certbot.service
 +</code>
 +
 +/etc/letsencrypt/cli.ini
 +<code>
 +max-log-backups = 0
 +deploy-hook = systemctl reload nginx
 +</code>
 ===== acme.sh integration for letsencrypt ===== ===== acme.sh integration for letsencrypt =====
  
  • tips/ssl.txt
  • Last modified: 2022/06/22 07:15
  • by sscipioni