SSL

vIstaswx神牛告诉我了StartSSL的网站: https://www.startssl.com/

这里可以申请免费的ssl证书, 现在你可以在 https://twd2.me 来测试, 不过由于某种原因, 免费的证书不被Chrome认可。 经过重新配置, Chrome已认可我的证书。

nginx方法如下

wget https://www.startssl.com/certs/ca.pem

wget https://www.startssl.com/certs/sub.class1.server.ca.pem

cat ca.pem sub.class1.server.ca.pem >> ca-certs.crt

cat ca-certs.crt >> 你的证书文件名

apache方法如下

wget https://www.startssl.com/certs/ca.pem

wget https://www.startssl.com/certs/sub.class1.server.ca.pem

cat ca.pem sub.class1.server.ca.pem >> ca-certs.crt

配置文件加上SSLCACertificateFile /root/ca-certs.crt

 

发表评论

注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

:wink: :twisted: :roll: :oops: :mrgreen: :lol: :idea: :evil: :cry: :arrow: :?: :-| :-x :-o :-P :-D :-? :) :( :!: 8-O 8)

本文链接:https://twd2.me/archives/2337QrCode