Rails Command: rails s and thin start --ssl

bruceyue · 2012年11月05日 · 最后由 small_fish__ 回复于 2012年11月20日 · 2999 次阅读

I used OmniAuth in my rails app, but when I started the app use rails s, it's showed SSL error, but thin start --ssl, it worked correctly and no logs on the console. Anybody can help me? Thanks.

你能告诉我 salesfore 上,如何得到 SALESFORCE_KEY,SALESFORCE_SECRET 吗?

module OpenSSL
  module SSL
    remove_const :VERIFY_PEER
  end
end
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE

create a remote app in your org, then you'll get them.

需要 登录 后方可回复, 如果你还没有账号请 注册新账号