Community
Participate
Working Groups
Created attachment 280370 [details] Screenshot The backslash in the certificate looks bad to me in the Certificates dialog, which I think comes from platform but is used by other tools like Oomph. Is this an issue with with the certificate or should be dialog remove the backslashes?
The underlying infrastructure for this is in Equinox and used by p2.
I think something is going wrong in: org.eclipse.equinox.internal.p2.ui.viewers.CertificateLabelProvider.getText(Object) public String getText(Object element) { Certificate cert = null; if (element instanceof TreeNode) { cert = (Certificate) ((TreeNode) element).getValue(); } if (cert != null) { X500PrincipalHelper principalHelper = new X500PrincipalHelper(((X509Certificate) cert).getSubjectX500Principal()); return principalHelper.getCN() + "; " + principalHelper.getOU() + "; " + principalHelper.getO(); //$NON-NLS-1$ //$NON-NLS-2$ } return ""; //$NON-NLS-1$ } Particularly in the calls to principalHelper. The getCN().toString() must be escaping the commas of the in org.eclipse.equinox.internal.provisional.security.ui.X500PrincipalHelper
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.