onelogin/ruby-saml — pull request #176 by phlipper (2014-12-15 08:44:37+00:00)
Title: Ensure IdP certificate is formatted properly

When loading the provider certificate from the environment, or integrating via `omniauth-saml`, we would often encouter a series of _nested asn1 error_ messages due to the malformed certificate failing to be read by `OpenSSL`.

Inspiration for this patch comes from toyokazu/rack-saml@b7646ad

Thanks to @dannyb for the assistance!