Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
海波
@haibor
Member
NO. 32620 / 2017-08-14

[email protected]
3 Topics / 10 Replies
1 Followers
0 Following
0 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • rake stats 自定义文件目录代码统计及 UTF-8 编码问题解决 at December 01, 2017

    😁

  • 此贴已关闭 at November 30, 2017

    找我吧。活好。

  • [远程 / 西班牙] Rails 工程师招聘 at November 30, 2017

    发欧元,找我。

  • SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server hello A (OpenSSL::SSL::SSLError) 错误,求大佬指教! at November 30, 2017

    something else

    require 'net/https' 
    require 'uri' 
    uri = URI.parse('https://liuwm-pc:8081/2.html') 
    http = Net::HTTP.new(uri.host, uri.port) 
    http.use_ssl = true 
    if uri.scheme == "https"  # enable SSL/TLS 
    http.cert =OpenSSL::X509::Certificate.ne(File.read("D:/111/client.crt")) 
    http.key =OpenSSL::PKey::RSA.new((File.read("D:/111/client.key")), "123456")# key and password 
    http.verify_mode = OpenSSL::SSL::VERIFY_NONE #这个也很重要 
    http.start { 
      http.request_get(uri.path) {|res| 
        print res.body 
      } 
    }
    
  • [远程 / 西班牙] Rails 工程师招聘 at November 30, 2017

    我都用过,可以不。

  • SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server hello A (OpenSSL::SSL::SSLError) 错误,求大佬指教! at November 23, 2017

    try this

    
    require 'excon'
    require 'tach' 
    Excon.defaults[:ssl_ca_path] = "d:\\"
    Excon.defaults[:ssl_ca_file] = 'D:\\run.cer'
    #Excon.defaults[:ssl_verify_peer] = false
    
        response = Excon.get('https://ruby-china.org')
        response.body       # => "..."
        p response.headers    # => {...}
        p response.remote_ip  # => "..."
        p response.status     # => 200
    
    
  • Win7 64 位使用 Rails 3.2.12 的 OpenSSL::SSL::SSLError at November 23, 2017

    看精华帖 https://ruby-china.org/topics/33843

  • [远程 | 成都] 澳洲公司招聘中 / 高级 Rails 攻城狮 / 算法工程师 at October 11, 2017

    每周两天在家办公?周六周日?办公?

  • [深圳] DJI 大疆创新招聘 Ruby 工程师 7 名&电商实习生多名 (saberma 内推 15-40k)[福利更新] at August 14, 2017

    深圳的工作地点?年薪具体多少?什么水平?

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English