Error When Importing a certificate into an application
Originally Published: 2008-03-04
Article Number
Applies To
Issue
java.lang.ArrayIndexOutOfBoundsException
at org.apache.commons.codec.binary.Base64.isBase64(Base64.java:173)
at org.apache.commons.codec.binary.Base64.discardNonBase64(Base64.java:522)
at org.apache.commons.codec.binary.Base64.decodeBase64(Base64.java:418)
at com.rsa.kms.key.support.DefaultCertificateParser.getSerialNumber(DashoA10*..:126)
at com.rsa.kms.database.sql.DefaultCertificateFinder.isCertificateUsed(DashoA10*..:41)
at com.rsa.kms.key.application.DefaultApplicationManager.a(DashoA10*..:497)
at com.rsa.kms.key.application.DefaultApplicationManager.updateApplication(DashoA10*..:414)
at com.rsa.kms.transport.servlet.AdminServlet.performPost(DashoA10*..:269)
at com.rsa.kms.transport.servlet.AbstractKeyManagerServlet.doPost(DashoA10*..:65)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.rsa.kms.transport.servlet.AbstractKeyManagerServlet.service(DashoA10*..:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.rsa.kms.transport.servlet.AbstractKeyManagerServlet.service(DashoA10*..:120)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.rsa.kms.transport.filter.InputSanitizer.doFilter(DashoA10*..:84)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Cause
Resolution
The easiest way to convert the certificate:
In windows give the file a .cer extension
double click the file
Click the Details tab
Click the Copy to file button
Click the Next button
Choose Base64 from the options and click next
Choose a filename b64cert.cer and click next
Click Finish
Related Articles
This certificate or its signing CA is not valid error when importing a certificate chain in RSA Authentication Manager 8.x… 952Number of Views Root CA certificate is required for activation error when importing a custom certificate signed by a known CA into Operati… 520Number of Views Error when importing wildcard certificates to RSA Authentication Manager 8.x 521Number of Views Error "keytool error: java.lang.Exception: Failed to establish chain from reply" when importing the SSP CA signed certific… 1.28KNumber of Views AFX Server stuck in 'Not running' State, with error 'timed out waiting for AFX applications to start' 3.58KNumber of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process Downloading RSA Authentication Manager license files or RSA Software token seed records When configuring LDAP or LDAPS in RSA Authentication Manager with a global catalog the connection fails
Don't see what you're looking for?