| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On my windows box (which is building the applet), I did the following:
C:\tools>"C:\Program Files\Java\jdk1.5.0_09\bin\keytool" -genkey -dname "cn=myname, ou=myorg, o=mycompany, c=US" -alias myalias -keypass mykeypass -keystore mykeystore -storepass mystorepass -validity 180
C:\tools>"C:\Program Files\Java\jdk1.5.0_09\bin\keytool" -export -keystore mykeystore -alias myalias -file mycertificate.cer
C:\tools>"C:\Program Files\Java\jdk1.5.0_09\bin\jarsigner" -keystore mykeystore -storepass mystorepass -keypass mykeypass applet.jar myalias
I then copied mycertificate.cer over to my MacBook Pro, opened Keychain Access, and then imported the certificate into my login keychain. The certificate seemed to import ok. I can see it under the "Certificates" section. I do see some red text saying "This certificate is not in the trusted root database", but under "Certificate Information", under "Trust Settings", I have selected "Always Trust".
Now when I point my laptop at the web server on the Windows box, the applet does not work. I get the following error in my console:
access denied (java.util.PropertyPermission user.dir read)
And the following error in Safari:
http://servername
Applet does not have permission to perform this activity.
Can anyone point me in the right direction? I thought that this was all I had to do to get my signed applet working.
Many thanks,
Sebastian
_______________________________________________ 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.