문제

I assume it is using OpenSSL underneath. Is there a good way to set:

https.verify_mode = OpenSSL::SSL::VERIFY_PEER

on your class that includes httparty? Thanks!

도움이 되었습니까?

해결책

Julian ending up solving it like this: https://github.com/coinbase/coinbase-ruby/commit/7bd9b6576bd267001202d21082a4c151fc87e4c4

He added some additional notes:

You can get the actual certificate chain from the authority in most cases: https://www.digicert.com/digicert-root-certificates.htm

Or something like this would also work:

openssl s_client -showcerts -connect yourwebsite.com:443
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top