keytool java.security.cert.CertificateParsingException: signed overrun, bytes = 139

When playing with SSL certificates and Java I came across a very weird error that I could not find a solution to anywhere.

I had submitted my CSR and got the certificate back in an email, so I copied it and pasted it into a .cer file ready to SSL my applet, but when trying to import the certificate, I got the following error:

keytool java.security.cert.CertificateParsingException: signed overrun, bytes = 139

After much searching of forums and Google, I could not find any reference to this specific error message other than something about copy and pasting from the wrong format. I thought that maybe it was something to do with Outlook, so logged into Gmail and copy and pasted from there, voila!

I decided to make sure Outlook was my problem before slaying it all over the intarwebz and sure enough, copy and pasting from Outlook again threw the error, but doing it from Gmail did not. I no longer copy and paste anything important out of Outlook.

About the Author

brendo

brendo

I am the owner, creater, king, dictator and ruler supreme of oldmatebrendo.com. I am an Australian university student studying IT at the University Of Wollongong who works for IBM Software Group and I run my own business (Den Solutions) part time with a partner. I love sport, mainly cricket, and love going to music festivals and concerts.

One Response to “keytool java.security.cert.CertificateParsingException: signed overrun, bytes = 139”

  1. Outlook tends to frig around with newlines, which are pretty important, generally, in things like certificates. Outlook = fail on so many levels.

Leave a Reply

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>