Apache模塊配置:mod_ssl
Apache能夠提供基于OpenSSL/LibreSSL的TLS 加密。TLS的設(shè)置一般放在<VirtualHost>中,當(dāng)然也可以放在根配置下。其使用較為簡單,只有幾個(gè)配置:
<VirtualHost>
SSLEngine on
SSLProtocol TLSv1.3
SSLCertificateFile "/path/to/certificate"
SSLCertificateKeyFile "/path/to/key"
<Directory "...">
...
</Directory>
</VirtualHost>
標(biāo)簽: