当前位置: 网站建设 > 网页设计 > 建站经验 >

lighttpd配置HTTPS(SSL)_网站开发

时间:2012-11-06 21:45来源:未知 作者:admin 点击:

标签:lighttpd配置HTTPS(SSL)_网站开发 【关键词:做网站(42)
2. lighttpd配置 openssl req -new -x509 \ -keyout ideawu.net 网站开发 .pem -out ideawu.net 成都网站制作 .pem \ -days 99365 -nodes 把 ideawu.net.pem 拷贝到 /home/work/lighttpd-1.5/conf/ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_s
lighttpd配置HTTPS(SSL)_网站开发》文章地址:http://www.tfxk.com/wangyesheji/jianzhanjingyan/11063N2012.htm

2. lighttpd配置

openssl req -new -x509 \
-keyout ideawu.net网站开发.pem -out ideawu.net成都网站制作.pem \
-days 99365 -nodes

把 ideawu.net.pem 拷贝到 /home/work/lighttpd-1.5/conf/

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

4. API跟工具应用:

3. 拜访:

-->

弥补: Apache HTTPS
openssl genrsa 1024 > server.key
openssl req -new -key server.key > server.csr
openssl req -x509 -days 99365 -key server.key -in server.csr > server.crt

1. 创立SSL证书

https://localhost:443

wget –no-check-certificate https://localhost:443

$SERVER["socket"] == ":443" {
    $HTTP["host"] == "ideawu.net" {
        ssl.engine = "enable"
        ssl.pemfile = "/home/work/lighttpd-1.5/conf/ideawu.net.pem"
    }
}


(责任编辑:网站建设)
lighttpd配置HTTPS(SSL)_网站开发相关文章
上一篇:网站建设的灵魂_网站设计 下一篇:使网站更快的翻新技巧 BigPipe_成都做网站公司
回到顶部