Skip to content

Instantly share code, notes, and snippets.

@niraj-shah niraj-shah/apache.conf
Last active Mar 19, 2018

What would you like to do?
<IfModule mod_ssl.c>
<VirtualHost *:443>
Include conf/vhosts/domain.vhost
SSLCertificateFile /etc/letsencrypt/live/
SSLCertificateKeyFile /etc/letsencrypt/live/
Include /etc/letsencrypt/options-ssl-apache.conf
# download certbot-auto
chmod a+x certbot-auto
# create the wildcard certificate
sudo ./certbot-auto certonly --manual -d -d * --server
# renew wildcard certificate for specific domains
sudo ./certbot-auto certonly --apache -n -d -d *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.