I created a java applet for e-signature . Applet runs normal and works perfectly while i am running on ide (intelliJ) . But when i deployed project to .jar file and tried to run on browser (firefox) i got some error saying that .jar is untrusted. Then i made some researches and signed my applet with jarsigner . I follewed these steps :
keytool -genkey -keyalg rsa -alias MyCert
keytool -certreq -alias MyCert
- jarsigner C:\TestApplet.jar MyCert
also tried commands at oracle web site .link here
After i signed my applet error gone and i could run my applet. But when i try to sign a file i got an error saying that applet dont have permision to access cert store folder. Error is :
java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\Users\ChooseClick.sertifikadeposu" "read")