It seems OpenSSL authentication in Ruby has been broken for some time (see below), resorting many to use the dreaded
“OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE”
hack to circumvent authentication. As I develop SketchUp plugins that interact with HTTPS endpoints (including 3D Warehouse), I’d like to handle SSL authentication in a transparent, platform-independent way, without having to resort to the above, dangerous workaround. Does anyone have an idea (or better yet, a code snippet) of how this might be accomplished? A workaround on Windows seems to involve mutating a System Environment Variable (source: https://gist.github.com/fnichol/867550 ), but I consider this a last resort, as I’m unsure how this could affect the behavior of other OpenSSL-enabled applications.