apache 2.4.57, intermediate config, OpenSSL 3.1.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • puertoblack2003
    OG Member
    • Nov 08
    • 8217

    [INFO] apache 2.4.57, intermediate config, OpenSSL 3.1.1

    SSL Configuration Generator: https://ssl-config.mozilla.org/#server=apache&version=2.4.57&config=intermediate& openssl=3.1.1&guideline=5.7
    [HEADING=3]Supports Firefox 27, Android 4.4.2, Chrome 31, Edge, IE 11 on Windows 7, Java 8u31, OpenSSL 1.0.1, Opera 20, and Safari 9[/HEADING]

    # generated 2023-07-02, Mozilla Guideline v5.7, Apache 2.4.57, OpenSSL 3.1.1, intermediate configuration
    # https://ssl-config.mozilla.org/#serv...=intermediate& openssl=3.1.1&guideline=5.7

    # this configuration requires mod_ssl, mod_socache_shmcb, mod_rewrite, and mod_headers
    <VirtualHost *:80>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
    RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
    </VirtualHost>

    <VirtualHost *:443>
    SSLEngine on

    # curl https://ssl-config.mozilla.org/ffdhe2048.txt >> /path/to/signed_cert_and_intermediate_certs_and_dhparams
    SSLCertificateFile /path/to/signed_cert_and_intermediate_certs_and_dhparams
    SSLCertificateKeyFile /path/to/private_key

    # enable HTTP/2, if available
    Protocols h2 http/1.1

    # HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
    Header always set Strict-Transport-Security "max-age=63072000"
    </VirtualHost>

    # intermediate configuration
    SSLProtocol all -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:DHE-RSA-CHACHA20-POLY1305
    SSLHonorCipherOrder off
    SSLSessionTickets off

    SSLUseStapling On
    SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"[/CODE]

    SPJ Bulletin @
    forum.smartphonejunkie.org
    Law Enforcement Forum www.phillyfinest369.com
Working...