Skip to content

Instantly share code, notes, and snippets.

@ryanbekabe
Created January 7, 2021 16:18
Show Gist options
  • Select an option

  • Save ryanbekabe/5dcb3cd3990c1234748865d1eab5bd82 to your computer and use it in GitHub Desktop.

Select an option

Save ryanbekabe/5dcb3cd3990c1234748865d1eab5bd82 to your computer and use it in GitHub Desktop.
Apache vHost SSL GoDaddy Grade A
#https://www.ssllabs.com/ssltest/analyze.html?d=prblm.com
#Server version: Apache/2.4.6 (CentOS)
#Server built: Nov 16 2020 16:18:20
#OpenSSL 1.0.2k-fips 26 Jan 2017
#/etc/httpd/conf/httpd.conf
#Include /etc/httpd/conf/prblmssl.conf
#/etc/httpd/conf/prblmssl.conf
#https://github.com/narbehaj/ssl-checker
#https://github.com/TKCERT/testssl.sh-webfrontend
#https://www.sslshopper.com/ssl-checker.html#hostname=prblm.com
#https://whatsmychaincert.com/
#https://ssl-config.mozilla.org/
#https://www.ssllabs.com/ssltest/analyze.html?d=ssl-config.mozilla.org
#https://certificatechain.io/
#https://www.selfsignedcertificate.com/
#https://certificatetools.com/
#https://github.com/pinae/certificate-chain-creator
<IfModule mod_ssl.c>
<VirtualHost *:443>
SSLEngine On
ServerName prblm.com
ServerAlias www.prblm.com
DocumentRoot /var/www/html/prblmcom
<Directory /var/www/html/prblmcom>
AllowOverride All
Require all granted
</Directory>
SSLCertificateFile /home/ssl/prblmcom/prblmcom.crt
SSLCertificateKeyFile /home/ssl/prblmcom/prblmcom.key
SSLCertificateChainFile /home/ssl/prblmcom/prblmcom.ca
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
SSLOptions +StrictRequire
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
</VirtualHost>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment