WebLogic Server: Importing Certificate into Keystore fails with "java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big"

(Doc ID 1205215.1)

Last updated on DECEMBER 11, 2017

Applies to:

Oracle WebLogic Server - Version 9.2 and later
Information in this document applies to any platform.
***Checked for relevance on 24-Apr-2013***


When trying to import a certificate into a Java keystore using keytool, running the following command to import the certificate returns an error:


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms