Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java Web Start on Leopard



Dear all,

On Mac OS X 10.5 Leopard, Java Web Start does not launch my application.
The application runs on 10.4 as well as Windows and Linux.

The jnlp file points some jar files and all the jar files are signed by jarsigner like

  jarsigner -storepass foo bar.jar mykey

The key was created by keytool like

  keytool -genkey -alias mykey

The following exceptions are raised by Java Web Start with error message
`Failed to validate certificate. The application will not be executed.'

java.security.cert.CertificateParsingException: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus size.
	at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
	at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1679)
	at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:173)
	at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:90)
	at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:389)
	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:742)
	at java.security.KeyStore.load(KeyStore.java:652)
	at com.sun.deploy.security.RootCertStore$1.run(RootCertStore.java:152)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.deploy.security.RootCertStore.loadCertStore(RootCertStore.java:135)
	at com.sun.deploy.security.RootCertStore.load(RootCertStore.java:116)
	at com.sun.deploy.security.RootCertStore.load(RootCertStore.java:91)
	at com.sun.deploy.security.ImmutableCertStore.load(ImmutableCertStore.java:43)
	at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:201)
	at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(AppPolicy.java:217)
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1231)
	at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1068)
	at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:691)
	at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:157)
	at com.sun.javaws.Launcher.launch(Launcher.java:95)
	at com.sun.javaws.Main.launchApp(Main.java:302)
	at com.sun.javaws.Main.continueInSecureThread(Main.java:212)
	at com.sun.javaws.Main$1.run(Main.java:107)
	at java.lang.Thread.run(Thread.java:552)
Caused by: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus size.
	at sun.security.x509.X509Key.parse(X509Key.java:155)
	at sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:58)
	at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:706)
	at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:153)
	... 23 more

I would appreciate if someone knew the solution.

Kyoma
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.