Frequently Asked Questions - Java
Java webstart produces the following error:
JNLPException[category: Download Error : Exception: javax.net.ssl.SSLHandshakeException:
Could not find trusted certificate : LaunchDesc: null ]
at
com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:650)
at
com.sun.javaws.cache.DownloadProtocol.getDownloadSize(DownloadProtocol.java:895)
at
com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:547)
at
com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:511)
at
com.sun.javaws.Launcher.downloadResources(Launcher.java:651)
at
com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:261)
at
com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:171)
at
com.sun.javaws.Launcher.run(Launcher.java:139)
at
java.lang.Thread.run(Thread.java:536)
Answer.
Javaweb start is a program from sun that allows you to run java applications from your web browser (not an applet).
Upgrading to javaws 1.4.2_02 (correct level at time of publishing) should fix the problem.
How do I delete a cert from the default .keystore
keytool -delete -alias xxxxx (where xxxxx is the alias name)
How do I delete a cert from the cacerts file
keytool -delete -alias xxxxx -keystore F:\j2sdk1.4.2_04\jre\lib\security\cacerts (where xxxxx is the alias name)
How do I list all .keystore certs
keytool -list -v | more
How do I list all .keystore certs in a specific keystore
keytool -list -keystore F:\j2sdk1.4.2_04\jre\lib\security\zzzzz | more (where zzzzz is the keystore name)
How do I list just one .keystore cert
keytool -list -v -alias xxxxx | more (where xxxxx is the alias name)
How do I list all cacerts certificates
keytool -list -keystore F:\j2sdk1.4.2_04\jre\lib\security\cacerts | more
How do I list just one cacerts certificate
keytool -list -keystore F:\j2sdk1.4.2_04\jre\lib\security\cacerts -alias xxxxx | more (where xxxxx is the alias name)
