encryption - java.io.IOException: Invalid Keystore format -
Do anyone know how to solve this? I tried many things, but none of them worked.
And when I click on more details as I get it:
sun.security.provider.JavaKeyStore.engineLoad java.security (Unknown Source). atsun.security.provider.JavaKeyStore $ JKS.engineLoad (unknown source KeyStore.load) com.sun.deploy on Javaksecurity (unknown source) at com.sun.deploy.security.RootCertStore $ 1.run (unknown source) on .AccessController.doPrivileged (Native method) com.sun.deploy.security.RootCertStore.loadCertStore (unknown source com.sun.deploy.security.RootCertStore.load) (unknown source) at .security.RootCertStore .load (unknown Source) com.sun.deploy.security.TrustDecider.isAllPermissionGranted at com.sun.deploy.security.TrustDecide r.isAllPermissionGranted on ComksunkdeployksecuritykImmutableCertStorekload (Unknown Source) (Unknown Source) at (Unknown Source) (unknown source sun.plugin.security.PluginClassLoader.getPermissions) on java.security.SecureClassLoader.getProtectionDomain (unknown source) java.security.Sec on java.net.URLClassLoader $ 1.run (unknown source) UreClassLoaderkdefineClass (unknown source java.net.URLClassLoader.access $ 000 (unknown source) at Javaksecurity) Java In .net.URLClassLoader.defineClass (unknown source) JavaknetkURLClassLoaderkfindClass (Unknown Source sun.applet.AppletClassLoader.findClass on java.lang.ClassLoader.loadClass on AccessController.doPrivileged sun.applet.AppletClassLoader) (Unknown Source) (Unknown Source) at (Native Method) . On LoadClass (Unknown Source) SunkappletkAppletClassLoaderkloadCode (Unknown Source sun.applet.AppletPanel.createApplet on SunkpluginkAppletViewerkcreateApplet) (JavaklangkClassLoaderkloadClass (Unknown Source) at an undisclosed source) ( unknown source) (unknown source sun.applet.AppletPanel.RunLoader) on SunkappletkAppletPanelkrun (unknown source) at java.lang.Thread.run (unknown source)
During the copy / transfer you can corrupt the file.
Are you using Maven? If you are copying the keystore file with "filter = true", you can corrupt the file.
Please check the file size.
Comments
Post a Comment