解决SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.

来源:互联网 发布:淘宝上的玛卡是真的吗 编辑:程序博客网 时间:2024/06/04 19:53

reference: 

https://gist.github.com/fnichol/867550
https://gist.github.com/luislavena/f064211759ee0f806c88


下载 cacert.pem file

http://download.csdn.net/download/u011534057/9847571 

创建文件夹,C:\RailsInstaller

保存到

C:\RailsInstaller\cacert.pem.

在命令行cmd or ruby的prompt中输入,然后jekyll s 就okay了

set SSL_CERT_FILE=C:\RailsInstaller\cacert.pem
阅读全文
0 0