nginx配置证书链解决IE/firefox/IOS手机QQ客户端/https出现不
typecho吧
全部回复
仅看楼主
level 1
汪汪杰🐶 楼主
无意中发现的这个问题,在火狐 IE中提示不受信任
在手机QQ上直接无法打开
经过博客志ddos小天使Andy༺指点,这时nginx证书链的问题
经过谷歌,找到了一篇文章
关键字“Nginx中配置中间级CA证书”
if you have a chain certificate file (sometimes called an intermediate certificate) you don't specify it separately like you do in Apache. Instead you need to add the information from the chain cert to the end of your main certificate file. This can be done by typing “cat chain.crt >> mysite.com.crt” on the command line. Once that is done you won't use the chain cert file for anything else, you just point Nginx to the main certificate file.
重点是这里
cat chain.crt >> mysite.com.crt
我用的沃通免费证书,所以要这样
cai 1_root_bundle.crt>>2_http://www.tntsec.com.crt
就行了
原创文章,转载请注明 起司博客 .
标签: nginx
2015年08月03日 00点08分 1
1