Closed Bug 91416 Opened 23 years ago Closed 8 years ago

user-friendly names should handle case where there's no CN field

Categories

(Core Graveyard :: Security: UI, enhancement, P2)

x86
Windows 2000
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: thomask, Unassigned)

Details

I have created a certificate with the following subject name

UID=thomask,dc=iplanet,dc=com.

In the Manage certificate dialog of NS61PR1, it shows:

's netscape ID

Wouldnt it be nicer to display just thomask or even
UID=thomask,dc=iplanet,dc=com.

The user-friendly name building logic may just print the
subject if a user-friendly name cannot be built.
->future
P2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Target Milestone: --- → Future
Mass assigning QA to ckritzer.
QA Contact: junruh → ckritzer
QA Contact: ckritzer → junruh
May I suggest wontfix? Reporter, you may have the world's only cert without a 
CN.
The subject name can have anything there according to the X509
standard. CN is not a mandatory field. The subject name is
determined by the certificate authority or the issuer. So really,
it can be anything as long as it is in the format of name=value,
name=value,...

I will not be suprised to see PKI deployment where CN is not
present in user certificates.

If you look at Microsoft's Certificate management, they handle
it as follows:

Subject Name                           Pretty Print Name
----------------------------------------------------------
UID=thomask                            thomask
E=thomask@netscape.com                 thomask@netscape.com
CN=Thomas Kwan                         Thomas Kwan
UID=thomask,CN = Thomas Kwan,...       Thomas Kwan


Mass reassign ssaux bugs to nobody
Assignee: ssaux → nobody
Mass change "Future" target milestone to "--" on bugs that now are assigned to
nobody.  Those targets reflected the prioritization of past PSM management.
Many of these should be marked invalid or wontfix, I think.
Target Milestone: Future → ---
Product: PSM → Core
QA Contact: junruh → ui
Version: psm2.0 → 1.0 Branch
Summary: NS61PR1 inappropriately handles user-friendly names → user-friendly names should handle case where there's no CN field
Version: 1.0 Branch → Trunk
From what I can tell, the browser will default to "Imported Certificate" if it can't figure out a reasonable name. This is probably the best we can do without putting significant effort into attempting to come up with something based on properties that may or may not be present and may or may not be relevant or even human-readable.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.