<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ruby &amp;mdash; Suranyami</title>
    <link>https://suranyami.com/tag:ruby</link>
    <description>Polyglot developer, geometric tessellation fan, ambient DJ.</description>
    <pubDate>Fri, 17 Apr 2026 05:52:34 +0000</pubDate>
    <item>
      <title>SSL certificate verify failed on Ruby</title>
      <link>https://suranyami.com/ssl-certificate-verify-failed-on-ruby?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Our team recently began using PhraseApp for translations/localizations.&#xA;It&#39;s a great service.&#xA;But, we hit a problem:&#xA;&#xA;SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed&#xA;&#xA;We tried the usual things:&#xA;&#xA;brew uninstall openssl&#xA;brew install openssl&#xA;brew link openssl --force&#xA;rvm osx-ssl-certs update all&#xA;and imploding rvm and the like, all to no avail. Eventually, the solution was found using the&#xA;following:&#xA;&#xA;ssl-tool: Misc. tools to help with debugging WTF is going on with SSL connections and Ruby&#xA;&#xA;This showed that there was an expired CA cert from GlobalSign on the dev machine.&#xA;&#xA;It was then fixed with this:&#xA;&#xA;OpenSSL and dealing with expired Root CA certs&#xA;&#xA;I hope this helps anyone else who encounters this.&#xA;&#xA;August 25th, 2015 10:27am&#xA;ruby&#xA;ssl&#xA;certificates&#xA;expired&#xA;homebrew&#xA;&#xA;a href=&#34;https://remark.as/p/suranyami.com/ssl-certificate-verify-failed-on-ruby&#34;Discuss.../a]]&gt;</description>
      <content:encoded><![CDATA[<p>Our team recently began using <a href="https://phraseapp.com">PhraseApp</a> for translations/localizations.
It&#39;s a great service.
But, we hit a problem:</p>

<pre><code>SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
</code></pre>

<p>We tried the usual things:</p>

<pre><code class="language-shell">brew uninstall openssl
brew install openssl
brew link openssl --force
rvm osx-ssl-certs update all
</code></pre>

<p>and imploding <code>rvm</code> and the like, all to no avail. Eventually, the solution was found using the
following:</p>

<p><a href="https://github.com/mislav/ssl-tools">ssl-tool</a>: Misc. tools to help with debugging WTF is going on with SSL connections and Ruby</p>

<p>This showed that there was an expired CA cert from GlobalSign on the dev machine.</p>

<p>It was then fixed with this:</p>

<p><a href="https://github.com/Homebrew/homebrew/issues/32251">OpenSSL and dealing with expired Root CA certs</a></p>

<p>I hope this helps anyone else who encounters this.</p>

<p>August 25th, 2015 10:27am
<a href="https://suranyami.com/tag:ruby" class="hashtag"><span>#</span><span class="p-category">ruby</span></a>
<a href="https://suranyami.com/tag:ssl" class="hashtag"><span>#</span><span class="p-category">ssl</span></a>
<a href="https://suranyami.com/tag:certificates" class="hashtag"><span>#</span><span class="p-category">certificates</span></a>
<a href="https://suranyami.com/tag:expired" class="hashtag"><span>#</span><span class="p-category">expired</span></a>
<a href="https://suranyami.com/tag:homebrew" class="hashtag"><span>#</span><span class="p-category">homebrew</span></a></p>

<p><a href="https://remark.as/p/suranyami.com/ssl-certificate-verify-failed-on-ruby">Discuss...</a></p>
]]></content:encoded>
      <guid>https://suranyami.com/ssl-certificate-verify-failed-on-ruby</guid>
      <pubDate>Mon, 12 Jul 2021 04:17:18 +0000</pubDate>
    </item>
  </channel>
</rss>