OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=unknown state: unknown protocol

前端 未结 4 768
北荒
北荒 2020-12-05 15:43

I\'ve followed many posts regarding this issue and non of them helped. I\'m trying to connect using simplest irb commands:

require \'open-uri\'
open (\'https         


        
4条回答
  •  情书的邮戳
    2020-12-05 16:12

    If you're on Mac and it's an OSX certificate issue (which was the case for me), you can fix it by running:

    rvm osx-ssl-certs update all
    

    See https://rvm.io/support/fixing-broken-ssl-certificates

提交回复
热议问题