rpi_nimbus

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
rpi_nimbus [2019/08/01 09:49] – [+Work logs] Júne Parkrpi_nimbus [2019/08/01 09:56] – [Let's Encrypt] Júne Park
Line 156: Line 156:
  
 ---- ----
 +
 +==== Let's Encrypt via repository ==== 
 +
 +<code bash> 
 + sudo apt update 
 + sudo apt install certbot python-certbot-nginx 
 +</code> 
 +
 +command is same as ''certbot-auto'' by ''root'' privilege. 
 +
 +=== Create certificate(s) === 
 +
 +<code bash> 
 + certbot certonly --webroot -w /var/www/mydomain -d www.mydomain.com 
 +</code> 
 +
 +=== Renew certificate(s) === 
 +
 +<code bash> 
 + certbot renew
 +</code> 
 +
 +=== Delete certificate(s) === 
 +
 +<code bash>
 + certbot delete --cert-name delete.mydomain.com 
 +</code> 
 +
 +---- 
 ==== SSL Configuration on Nginx ====  ==== SSL Configuration on Nginx ==== 
  
  • rpi_nimbus
  • Last modified: 2024/05/11 15:37
  • by Júne Park