Last active
April 28, 2023 09:35
-
-
Save jogu/9823a2d5b0e4e2f8afe5b73b6fe27217 to your computer and use it in GitHub Desktop.
apache + letsencrypt + TLS-ALPN-01 with mod_md - avoids opening port 80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ServerName foo.com | |
Protocols http/1.1 acme-tls/1 | |
MDCAChallenges tls-alpn-01 | |
MDCertificateAgreement accepted | |
MDomain foo.com | |
MDPrivateKeys RSA 4096 | |
<VirtualHost _default_:443> | |
ServerAdmin [email protected] | |
DocumentRoot /var/www/html | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
SSLEngine on | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks :-)