Jekyll Gist - Liquid Exception: SSL_connect

Trying to use jekyll-gist and I encountered an issue with Windows

Liquid Exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed in C:/development/github/

Turns out there is an issue with Ruby and OpenSSL using the wrong location. The following commands resolves that issue. Just remember to add it to the Environment Variables.

curl -o /c/development/cacert.pem
export SSL_CERT_FILE="c:\development\cacert.pem"

**Note:** to solve permanently for all services open a PowerShell as an Administrator and issue Then use the following to add it to the Environment Variables

[Environment]::SetEnvironmentVariable("SSL_CERT_FILE", "c:\development\cacert.pem", "Machine")
Loading Google+ Comments ...