Skip to content

Instantly share code, notes, and snippets.

@ewingson
Created December 7, 2018 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ewingson/1d44f529d2f7baf0ad5c118a43300e02 to your computer and use it in GitHub Desktop.
Save ewingson/1d44f529d2f7baf0ad5c118a43300e02 to your computer and use it in GitHub Desktop.
apache2_config_ssl_letsencrypt_cert.pem_privkey.pem_chain.pem_fullchain.pem_?
LoadModule ssl_module libexec/apache2/mod_ssl.so
Listen 443
<VirtualHost *:443>
ServerName example.com
SSLEngine on
SSLCertificateFile "/etc/letsencrypt/live/example.com/cert.pem"
SSLCertificateKeyFile "/etc/letsencrypt/live/example.com/privkey.pem"
SSLCertificateChainFile "/etc/letsencrypt/live/example.com/chain.pem"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment