Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems importing final certificate into keystore

9 views
Skip to first unread message

toriwilliamson

unread,
Apr 27, 2011, 12:08:32 PM4/27/11
to
To: comp.lang.java.security
Please be gentle. I am horribly java naive and have only gone by way of the
various instructions for creating keystores and certificates found at a
variety of sites that all match in syntax and function.

I have created a keystore, created a signing request (which has been sent to
thawte and recieved my signed cert), and imported my root and intermediate CA
certs. Every step of the way, each file and certificate has been tested and
is complete and without error.

However, when i attempt to import my final signed certificate into the
keystore, I get the following error:

keytool error: java.security.cert.CertificateException: sun.security.pkcs.
ParsingException: DerInputStream.getLength<>: lengthTag=26, too big.

Now, if i google "lengthTag=26, too big" i get zero returns from google. If i
simply google "lengthTag= too big" without the 26 i get many returns... but
all for different lengthTag errors, none of which having anything to do with
my issue.

Any insight as to what I could be doing wrong would be highly appreciated.

---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Speedo

unread,
Apr 27, 2011, 12:08:32 PM4/27/11
to
To: comp.lang.java.security
Use a text editor to look at the certificate file. If there are lines
before -----BEGIN or after -----END, remove them and try again.
0 new messages