Advertisement
fplanzer

ssl certbot debian/kali

Jan 13th, 2020
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. a2enmod ssl
  2.  
  3. apt-get install certbot python3-certbot-apache
  4.  
  5. certbot --apache -d dominio.com -d www.dominio.com
  6.  
  7. systemctl restart apache2
  8.  
  9. #######
  10.  
  11. You can test automatic renewal for your certificates by running this command:
  12.  
  13. sudo certbot renew --dry-run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement