Must specify the location of an OCSP Responder – Java
While i’m trying to run a Java Web Start application, i encountered the following PKIX , some certificate errors
PKIX path validation failed: java.security.cert.CertPathValidatorException: Must specify the location of an OCSP Responder
sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Must specify the location of an OCSP Responder at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:251) at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:234) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:148) at sun.security.validator.Validator.validate(Validator.java:218) at sun.security.validator.Validator.validate(Validator.java:187) at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:392) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(AppPolicy.java:211) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1238) at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1075) at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:620) at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:165) at com.sun.javaws.Launcher.launch(Launcher.java:95) at com.sun.javaws.Main.launchApp(Main.java:299) at com.sun.javaws.Main.continueInSecureThread(Main.java:209) at com.sun.javaws.Main$1.run(Main.java:106) at java.lang.Thread.run(Thread.java:619) Caused by: java.security.cert.CertPathValidatorException: Must specify the location of an OCSP Responder at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:139) at sun.security.provider.certpath.PKIXCertPathValidator.doValidate(PKIXCertPathValidator.java:316) at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:178) at java.security.cert.CertPathValidator.validate(CertPathValidator.java:250) at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:246)
Solution
Not really sure what’s the root cause of it, the solution is quite simple, we need to turn off the java certificate checking.
1) Access Windows Control Panel, click on the Java icon.
2) Click Advance tab, and expand the security option
3) Make sure the following two options are “uncheck”
– Check publisher certificate for revocation
– Enable online certificate validation

4) Apply and Done.



Thank you, Thank you, Thank you!