You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OneLogin::RubySaml.format_cert strips out the BEGIN and END line then remove line breaks. This will break any cert with prefix and suffix comments like the example below:
I forgot exactly which openssl command I run to generate the pem file but at least with some options openssl will generate cert with the human readable format prefixing the -----BEGIN CERTIFICATE-----.
I don't have a PR but am willing to write one if there's interest in this.
OneLogin::RubySaml.format_cert
strips out theBEGIN
andEND
line then remove line breaks. This will break any cert with prefix and suffix comments like the example below:The formatted certificate will be:
see:
https://github.com/onelogin/ruby-saml/blob/master/lib/onelogin/ruby-saml/utils.rb#L51
The text was updated successfully, but these errors were encountered: