LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: NeTRaY on August 02, 2008, 20:08:22

Title: AppletLoader problem
Post by: NeTRaY on August 02, 2008, 20:08:22
I have an odd problem while using AppletLoader

I get:

Fatal error occured (5): Unable to validate certificate chain. Chain differs in length [4 vs 3]

I have signed my jars.

Does anybody have any suggestions what could cause the problem?

Thank you.
Title: Re: AppletLoader problem
Post by: kappa on August 02, 2008, 20:39:19
Looks like a case of multiple certificates conflicting. This can happen if the some jars are already signed by a certificate and then another certificate is added to them. Best way to handle this is clear all certificates in the jars before resigning (you can clear all the certificates by deleting the META-INF folder in a jar/zip).