SSL证书保护你的数据安全
DV证书,OV证书,EV证书,通配符泛域名证书

apache  安装配置SSL证书

  • DV单域名SSL证书

    35元/年

    域名级,老牌大厂,SHA256!

    点击查看
  • 通配符/泛域名SSL证书

    210元/年

    域名级,老牌大厂,SHA256

    点击查看
  • OV单域名SSL证书

    580元/年

    企业级证书,老牌大厂,SHA256

    点击查看
  • OV泛域名SSL证书

    1580元/年

    企业级,老牌大厂,SHA256

    点击查看

HSTS & OCSP

apache 2.4.60, intermediate config, OpenSSL 3.4.0

支持 Firefox 27, Android 4.4.2, Chrome 31, Edge, IE 11 on Windows 7, Java 8u31, OpenSSL 1.0.1, Opera 20, Safari 9

# generated 2025-07-22, Mozilla Guideline v5.6, Apache 2.4.60, OpenSSL 3.4.0, intermediate configuration
# https://app.certbase.com/certhub/tools/ssl-config#server=apache&version=2.4.60&config=intermediate&openssl=3.4.0&guideline=5.6

# this configuration requires mod_ssl, mod_socache_shmcb and mod_socache_shmcb

<VirtualHost *:80>
    RewriteEngine On
    RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</VirtualHost>
<VirtualHost *:443>
    SSLEngine on

  # curl https://app.certbase.com/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) ({{output.hstsMaxAge}} seconds)
  Header always set Strict-Transport-Security "max-age={{output.hstsMaxAge}}"

</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
SSLHonorCipherOrder     off

SSLSessionTickets       off

SSLUseStapling On
SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
赞(0) 打赏
未经允许不得转载:免费SSL证书 » apache  安装配置SSL证书

评论 抢沙发

SSL证书保护你的数据安全

提供域名级(DV)TLS 证书, 企业级(OV)TLS 证书, 增强级(EV)TLS 证书, 单域名 TLS 证书, 通配符 TLS 证书, 弹性 TLS 证书 ,公网 IP 地址 TLS 证书, 中国 OCSP TLS 证书,证书品牌有,证书品牌 DigiCert Certum GlobalSign Geotrust Sectigo RapidSSL AlphaSSL PositiveSSL Secure Site Pro CFCA

联系购买联系我们

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫