サイト内の現在の位置 : Comodo SSL ホーム > サポート
Java - よく訊かれる質問
Java webstartから下記のエラーが発生します。
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)
解答
Javaweb startはSun提供プログラムで、これによってお使いのWebブラウザーからjabaアプリケーションを実行できます(アプレットではありません)。
javaws 1.4.2_02 (発行時点の修復レベル) へアップグレードすると、上記の問題が修正されます。
デフォルトの .keystoreから証明書を削除する方法
keytool -delete -alias xxxxx (where xxxxx is the alias name)
cacertsファイルから証明書を削除する方法
keytool -delete -alias xxxxx -keystore F:\j2sdk1.4.2_04\jre\lib\security\cacerts (where xxxxx is the alias name)
すべての .keystore証明書をリストする方法
keytool -list -v | more
特定のkeystoreにあるすべての .keystore証明書をリストする方法
keytool -list -keystore F:\j2sdk1.4.2_04\jre\lib\security\zzzzz | more (where zzzzz is the keystore name)
1つの .keystore証明書だけをリストする方法
keytool -list -v -alias xxxxx | more (where xxxxx is the alias name)
すべてのcacerts証明書をリストする方法
keytool -list -keystore F:\j2sdk1.4.2_04\jre\lib\security\cacerts | more
1つのcacerts証明書だけをリストする方法
keytool -list -keystore F:\j2sdk1.4.2_04\jre\lib\security\cacerts -alias xxxxx | more (where xxxxx is the alias name)