Get a certificate

certbot certonly -w /DIR/ -d domain1.net -d www.domain1.net

Renew certificates

  1. /etc/init.d/apache2 stop
  2. certbot renew
  3. /etc/init.d/apache2 start