000014066 - JavaScript error when trying to delete a certificate with special characters

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000014066
Applies ToRSA Key Manager Server 2.1.2
RSA Key Manager 2.1.3
IssueJavaScript error when trying to delete a certificate with special characters
Line: ??? (truncated)
Char: 199
Error: unterminated string constant
URL: https://server/KMS/admin/main.jsp?action=identityDetails&item=35
Certificate DN or Issuer's DN contain special characters, like <>'&" etc, which breaks JavaScript
Unable to delete a certificate from the Identities tab
Resolution

This issue has been fixed in RSA Key Manager Server 2.1.2.0.1 and RSA Key Manager Server 2.2.  Either apply 2.1.2.0.1 fix to your RKM Server 2.1.2, or upgrade to RKM Server 2.2.

If you can't upgrade, follow those instruction:

First, make sure you only have one certificate with the serial number, run:
            select * from auth_certificate where serialnumber = '<serial number>'

Then when you are certain, run:
            delete from auth_certificate where serialnumber = '<serial number>'
            commit;

Legacy Article IDa42043

Attachments

    Outcomes