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
Ruby 2.5.0 supports OpenSSL::X509::Name#to_utf8, but jruby-openssl does not. So
simplify the monkey patch for JRuby and continue to only use RFC2253 format,
because masking off ~ASN1_STRFLGS_ESC_MSB produces the wrong output:
dn = OpenSSL::X509::Name.parse('/DC=com').to_s(OpenSSL::X509::Name::RFC2253 & ~4)
=> "/DC=com"
dn = OpenSSL::X509::Name.parse('/DC=com').to_s(OpenSSL::X509::Name::RFC2253)
=> "DC=com"
0 commit comments