When a certificate contains non-ASCII UTF8 characters in the subject name, and is viewed in PSM's certificate view dialog, in the details tab, The name appears displayed correctly in some panes of that tab, but is displayed incorrectly in the top page (the hierarchical view) and in the dialog's title bar (at least on Solaris and Windows). I will shortly attach two certs to this bug. Both are CA certs. Import them into your browser. it is not necessary to trust either one. Import the root CA first, then the intermediate CA. When importing the intermediate CA, the dialog will give you a chance to view the cert. Do that, and look at the details tab. Select the cert with the non-ASCII characters in it, then view the Subject name field. If you have the chinese character fonts installed, you will observe that the subject name is shown correctly in chinese characters in some panes (e.g. the bottom one) but in other panes (e.g. the top one) the characters are displayed as if they were ISO-Latin-1 (or some other character set).
Created attachment 197069 [details] Taiwanese government root CA cert This is the root CA cert. download it first.
Created attachment 197070 [details] intermediate CA cert with Chinese characters in subject name This cert has chinese characters. It is the one that is not correctly displayed by cert manager.
Created attachment 197192 [details] screen shot showing problem Notice that the chinese characters appear correctly in the "Certificate Fields" pane, and in the "Field Value" pane for the Subject field, but incorrectly in the "Certificate Hierarchy" and incorrectly in the window's title bar. I sort-of understand this happening in the title bar, but not in the Certificate Hierarchy itself.
This appears to be the same problem originally reported in bug 256992, although that bug used a different character set. *** This bug has been marked as a duplicate of 256992 ***
I think this bug is not a duplicate of bug 256992 after all. Bug 256992 has a cert with invalid UTF8 encoding. It's subject name appears incorrectly in all 3 places where it is displayed: Title bar, hierarchy pane, and detail pane. In this bug, the cert appears to be properly encoded. I believe this bug is valid, even if bug 256992 is not.
See Simon Montagu's comment in bug 256992 comment 13, which describes his debugging of this bug.
In fact this turns out to be a duplicate of bug 234856. *** This bug has been marked as a duplicate of 234856 ***
This bug is broader than bug 234856. Bug 234856 only reported the title bar problem. This bug also reported the problem in the Certificate Hierarchy pane. See the screen shot in comment 3.
This really is a duplicate, because it's the cert.windowTitle attribute that's being displayed in the top panel of the cert details (if the cert lacks a common name). *** This bug has been marked as a duplicate of 234856 ***