bergie/passport-saml — pull request #48 by dnbard (2014-06-24 17:24:51+00:00)
Title: don't add begin, end certificate to document that already have them

Passport-SAML successfully consuming certificates that already formatted. But it adds extra "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----" to it, so certificate becomes invalid.
This pull request fixes it.