reaperhulk/r509 — Issue #2: Spec for R509::Csr 'create_with_subject' doesn't generate the expected subject
Author: justfalter
Created: 2011-10-31 23:21:19+00:00
State: open

I'm not sure if it has to do with the version of OpenSSL my ruby instance is linked against, but the subject doesn't come out exactly as you have it in the specs.

> 1) R509::Csr when passing an array to create_with_subject generates a matching csr when supplying raw oids
> Failure/Error: csr.subject.to_s.should == '/CN=common name/2.5.4.15=business category/L=locality/1.3.6.1.4.1.311.60.2.1.3=jurisdiction oid openssl typically does not know'
> expected: "/CN=common name/2.5.4.15=business category/L=locality/1.3.6.1.4.1.311.60.2.1.3=jurisdiction oid openssl typically does not know"
> got: "/CN=common name/businessCategory=business category/L=locality/1.3.6.1.4.1.311.60.2.1.3=jurisdiction oid openssl typically does not know" (using ==)
> # ./spec/csr_spec.rb:106:in `block (3 levels) in '