JavaScript error when trying to delete a certificate with special characters
2 years ago
Originally Published: 2008-09-10
Article Number
000046798
Applies To
RSA Key Manager Server 2.1.2
RSA Key Manager 2.1.3
Issue
JavaScript 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;