Troubleshooting SSL certificates, Ruby, Mac OS X Yosemite

后端 未结 1 494
一个人的身影
一个人的身影 2020-12-22 09:08

On OS X Mavericks, I am getting the following error from my Ruby programs when I try to connect to various APIs:

Seahorse::Client::NetworkingError: SSL_conne         


        
相关标签:
1条回答
  • 2020-12-22 09:28

    In my case the problem was the following:

    • Ruby installed as a binary with RVM assumed OpenSSL is in /etc/openssl
    • OpenSSL had been installed with Homebrew to /usr/local/etc/openssl

    => Mismatch; and symlinking /etc/openssl -> /usr/local/etc/openssl did not help.

    Compile RVM Ruby from sources: rvm install VERSION --disable-binary

    After that, make sure your certificates are up-to-date: rvm osx-ssl-certs update

    0 讨论(0)
提交回复
热议问题