Nelson Bolyard wrote:
GetOrganization returns a UTF8 string containing the value of the
certificate's "Organization" subject name attribute, if any, and (IIRC)
an empty string otherwise.

IIRC, the cert in question has no Organization attribute, ...

Nelson, according to our certificate management UI, it has one.


Edit > Preferences > Privacy and Security > Certificates > Authorities, scroll to "arcamax.com", select "arcamax.com nss root CA", click "View", and I get:

Issued To:
  Common Name (CN)          arcamax.com nss root CA
  Organization (O)          arcamax.com
  Organizational Unit (OU)  <Not Part Of Certificate>

etc.

By the way, if that's supposed to be a UTF8 string, then we have a separate issue. http://lxr.mozilla.org/seamonkey/source/security/manager/ssl/src/nsNSSComponent.cpp#1462 does:

1462 rv2 = certPrincipal->SetCommonName(NS_LossyConvertUTF16toASCII(orgName).get());

Which will totally break with a non-ascii but utf-8 Organization attribute... I guess I should file a PSM bug on that?

Thank you for taking the time to look into this, by the way,

-Boris
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to