jruby/jruby — pull request #1868 by dina (2014-07-29 00:26:28+00:00)
Title: Throw error when chain certs are *not* OpenSSL::X509::Certificate

In a recent refactor (f270d266b6435739cad7e4818dd1918535d97539) it looks like the logic to check for cert types was inverted.