Frage

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!

War es hilfreich?

Lösung

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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top