Skip to content

Instantly share code, notes, and snippets.

@zaskem
Created March 6, 2022 22:47
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 zaskem/d5be9eafceab9bc8fe903b8ca07d8f83 to your computer and use it in GitHub Desktop.
Save zaskem/d5be9eafceab9bc8fe903b8ca07d8f83 to your computer and use it in GitHub Desktop.
An example conf file to include for Apache on Windows where Certbot/letsencrypt certificates are generated and used.
#
# LET'S ENCRYPT SSL EXAMPLE SETTINGS
#
# This include was copied from a functioning Certbot installation on Linux.
# Its presence makes the SSL certs issued by Certbot behave on <Windows>
#
SSLEngine on
# Intermediate configuration, tweak to your needs
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder off
SSLSessionTickets off
SSLOptions +StrictRequire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment