咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
1.首先要确定apache已经安装了mod_ssl模块
如果是linux系统使用yum安装的apache,可以使用yum install mod_ssl openssl进行安装.
2.配置和普通的建立网站是一样的,唯一不同的是修改监听的端口号和引入ssl证书文件.如下:
SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 SSLCertificateFile /home/wwwroot/zhuli/ssl/Apache/www.landui.com_ssl.crt SSLCertificateKeyFile /home/wwwroot/zhuli/ssl/Apache/www.landui.com_ssl.key SSLCertificateChainFile /home/wwwroot/zhuli/ssl/Apache/www.landui.com_chain.crt
3.防火墙放行443端口重启后进行访问测试.