Mroczny337

Certbot

Nov 6th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. apt update && apt upgrade -y
  2. apt-get install software-properties-common -y
  3. apt-get install nginx certbot -y
  4.  
  5. certbot certonly -a webroot --webroot-path=/var/www/html -d umroka.pl -d www.umroka.pl
  6.  
  7. sudo certbot --nginx -d umroka.pl -d www.umroka.pl
  8. sudo certbot renew --dry-run
  9. certbot renew
  10.  
  11. sudo nginx -t && sudo nginx -s reload
Advertisement
Add Comment
Please, Sign In to add comment