apache 配置ssl

<VirtualHost 0.0.0.0:443>
    DocumentRoot "C:/xampp/htdocs"
    SSLEngine on
    ServerName www.***.cn:443
    
    SSLCertificateFile "C:/xampp/apache/conf/2_www.***.cn.crt"
    SSLCertificateKeyFile "C:/xampp/apache/conf/3_www.***.cn.key"
    SSLCertificateChainFile "C:/xampp/apache/conf/1_root_bundle.crt"
</VirtualHost>

猜你喜欢

转载自www.cnblogs.com/kaka666/p/9692755.html