Reply – Re: JOAL Couln't load native AL library
Your Name
Subject
Message
or Cancel
In Reply To
Re: JOAL Couln't load native AL library
— by gouessej gouessej
Jkrzysztof wrote
Hi,

It does not work for me:
  <http://jogamp.org/deployment/jogamp-current/jogl-demos/applet-gearsjoal.html>
It throws:
java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: java.security.InvalidKeyException: Wrong key usage
        at com.sun.deploy.security.TrustDecider.doCheckRevocationStatus(Unknown Source)
        at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
        at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
        at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
        at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
        at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.security.cert.CertPathValidatorException: java.security.InvalidKeyException: Wrong key usage
        at sun.security.provider.certpath.OCSPResponse.verifyResponse(Unknown Source)
        at sun.security.provider.certpath.OCSPResponse.<init>(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at com.sun.deploy.security.TrustDecider.doOCSPEEValidation(Unknown Source)
        ... 10 more
Caused by: java.security.InvalidKeyException: Wrong key usage
        at java.security.Signature.initVerify(Unknown Source)
        ... 16 more
It's a known problem, it has nothing to do with JOAL:
http://forum.jogamp.org/Win-7-1-7-0-07-b11-InvalidKeyException-Wrong-Key-Usage-on-all-applets-td4026082.html

OCSP check is broken in Java 1.7.
Julien Gouesse | Personal blog | Website