Closed emonti closed 12 years ago
Interesting. I get two other test failures, possibly related on "ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]" (system default on my macbook).
rspec ./spec/units/signing_request_spec.rb:32 # CertificateAuthority::SigningRequest should generate a proper DN from the CSR
rspec ./spec/units/signing_request_spec.rb:70 # CertificateAuthority::SigningRequest transforming to a certificate should be signable w/ a serial number
EDIT: disregard - i think this was a red herring - also 1.8.7 is deprecated
This is a weird one - the DN for issuer seems to get reversed, which appears to be causing things like nginx to fail validation.
I don't have an explanation, could be my code is wrong in the example - could also be ruby OpenSSL:: doing something unexpected...