{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/jekyll-gist/issues/30","repository_url":"https://api.github.com/repos/jekyll/jekyll-gist","labels_url":"https://api.github.com/repos/jekyll/jekyll-gist/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll-gist/issues/30/comments","events_url":"https://api.github.com/repos/jekyll/jekyll-gist/issues/30/events","html_url":"https://github.com/jekyll/jekyll-gist/issues/30","id":129490465,"number":30,"title":"Gist Liquid Tag causes SSL error when using jekyll serve or jekyll build","user":{"login":"cdvillard","id":6250214,"avatar_url":"https://avatars.githubusercontent.com/u/6250214?v=3","gravatar_id":"","url":"https://api.github.com/users/cdvillard","html_url":"https://github.com/cdvillard","followers_url":"https://api.github.com/users/cdvillard/followers","following_url":"https://api.github.com/users/cdvillard/following{/other_user}","gists_url":"https://api.github.com/users/cdvillard/gists{/gist_id}","starred_url":"https://api.github.com/users/cdvillard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdvillard/subscriptions","organizations_url":"https://api.github.com/users/cdvillard/orgs","repos_url":"https://api.github.com/users/cdvillard/repos","events_url":"https://api.github.com/users/cdvillard/events{/privacy}","received_events_url":"https://api.github.com/users/cdvillard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekyll/jekyll-gist/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-28T15:54:29Z","updated_at":"2016-03-16T13:57:42Z","closed_at":null,"body":"I was directed here from Jekyll, but for the sake of clarity and saving a click, I've pasted the original text here.\r\n\r\n> I preface this with the fact that I'm not a Rubyist, and I'm just getting back on Windows, so I seem a little green, it's because I am.\r\n> \r\n> ----------\r\n> I'm currently working on Windows 10, trying to build a site using the Poole theme, Jekyll 3.1.0 and Ruby ruby 2.2.3p173 x64. I seemed to keep running up against Liquid errors. I managed to fix a few common ones after installing jekyll-gist and jekyll-paginate, but then I hit this wall:\r\n> \r\n>     $ jekyll serve --trace\r\n>     Configuration file: C:/Users/cdvillard/Projects/cvillard/new-site/poole/_config.yml\r\n>                 Source: C:/Users/cdvillard/Projects/cvillard/new-site/poole\r\n>            Destination: C:/Users/cdvillard/Projects/cvillard/new-site/poole/_site\r\n>      Incremental build: disabled. Enable with --incremental\r\n>     Generating...\r\n>     Liquid Exception: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed in C:/Users/cdvillard/Projects/cvillard/new-site/poole/_posts/2014-01-01-example-content.md\r\n>     C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in `block in connect'\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/timeout.rb:88:in `block in timeout'\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/timeout.rb:98:in `call'\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/timeout.rb:98:in `timeout'\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in `connect'\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:863:in `do_start'\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:852:in `start'\r\n>         from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:583:in `start'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-gist-1.4.0/lib/jekyll-gist/gist_tag.rb:79:in `fetch_raw_code'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-gist-1.4.0/lib/jekyll-gist/gist_tag.rb:56:in `gist_noscript_tag'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-gist-1.4.0/lib/jekyll-gist/gist_tag.rb:23:in `render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/block.rb:151:in `render_token'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/profiler/hooks.rb:5:in `block in render_token_with_profiling'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/profiler.rb:80:in `profile_token_render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/profiler/hooks.rb:4:in `render_token_with_profiling'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/block.rb:135:in `block in render_all'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/block.rb:122:in `each'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/block.rb:122:in `render_all'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/block.rb:108:in `render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/template.rb:210:in `block in render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/template.rb:262:in `with_profiling'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/template.rb:209:in `render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/liquid-3.0.6/lib/liquid/template.rb:222:in `render!'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/liquid_renderer/file.rb:28:in `block (2 levels) in render!'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/liquid_renderer/file.rb:36:in `measure_bytes'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/liquid_renderer/file.rb:27:in `block in render!'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/liquid_renderer/file.rb:43:in `measure_time'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/liquid_renderer/file.rb:26:in `render!'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/renderer.rb:106:in `render_liquid'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/renderer.rb:61:in `run'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/site.rb:171:in `block (2 levels) in render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/site.rb:169:in `each'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/site.rb:169:in `block in render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/site.rb:168:in `each'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/site.rb:168:in `render'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/site.rb:59:in `process'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/command.rb:26:in `process_site'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/commands/build.rb:60:in `build'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/commands/build.rb:33:in `process'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/lib/jekyll/commands/serve.rb:34:in `block (2 levels) in init_with_program'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'\r\n>         from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/jekyll-3.1.0/bin/jekyll:13:in `<top (required)>'\r\n>         from C:/Ruby22-x64/bin/jekyll:23:in `load'\r\n>         from C:/Ruby22-x64/bin/In the jekyll:23:in `<main>'\r\n> \r\n> I haven't followed the trace just yet, but what I have done until this point is researched. I've tried several methods including [Nichol's][1] and [Lavena's][2]. I also know that if I remove the gist tag, it serves the site without complaint. Does anyone have ANY clue what could be causing this?\r\n> \r\n> \r\n>   [1]: https://gist.github.com/fnichol/867550\r\n>   [2]: https://gist.github.com/luislavena/f064211759ee0f806c88\r\n\r\nIn the original issue, it was suggested that I enforce `Net::HTTP#ssl_version` to ':TLSv1_2'. I'm not sure how to."},"comment":{"url":"https://api.github.com/repos/jekyll/jekyll-gist/issues/comments/197343100","html_url":"https://github.com/jekyll/jekyll-gist/issues/30#issuecomment-197343100","issue_url":"https://api.github.com/repos/jekyll/jekyll-gist/issues/30","id":197343100,"user":{"login":"sethxd","id":3084071,"avatar_url":"https://avatars.githubusercontent.com/u/3084071?v=3","gravatar_id":"","url":"https://api.github.com/users/sethxd","html_url":"https://github.com/sethxd","followers_url":"https://api.github.com/users/sethxd/followers","following_url":"https://api.github.com/users/sethxd/following{/other_user}","gists_url":"https://api.github.com/users/sethxd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethxd/subscriptions","organizations_url":"https://api.github.com/users/sethxd/orgs","repos_url":"https://api.github.com/users/sethxd/repos","events_url":"https://api.github.com/users/sethxd/events{/privacy}","received_events_url":"https://api.github.com/users/sethxd/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T13:57:42Z","updated_at":"2016-03-16T13:57:42Z","body":"I'm having the same issue, any luck with a solution to this?"}}