jekyll: SSL error on Windows when running jekyll serve
Getting the following error when trying to run ‘jekyll serve’ from the command line on Windows
d:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/net/http.rb:920:in `connect’: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
It seems to be the same error as this RubyGems issue
https://gist.github.com/luislavena/f064211759ee0f806c88
But I have no trouble installing gems, and the workaround in that issue had no effect.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 2
- Comments: 18 (7 by maintainers)
This was solved for me by using the steps found on this page.
It was solved by installing the following gem: certified.
gem install certified
@dsherret solution worked on win10 for me as well. I saved it in C:\Windows\cacert.pem Hit Win + r, enter in sysdm.cpl > Advanced tab > Environment Variables > System Variables : New > SSL_CERT_FILE and browse to the file, hit Ok. Restarted Powershell and >jekyll serve works.