Solution: The self-Signed Applet still pops up the security warning box, signature applet
I searched many online solutions and did not solve the problem of the pop-up warning box. Find out the following solutions:
1. Generate the keystore file and cert certificate by self-Signed steps
Keytool-genkey-keystore hp. keystore-alias hp-validity 3650
Keytool-export-keystore hp. keystore-alias hp-file hp. cer
2. Sign the Applet
Jarsigner-keystore hp. keystore xxxApplet. jar hp
3. log on to the Java console of the client and set the security level to medium"
4. Go to "Manage Site List" and add the server address
\
5. Locate the jre path and go to the $ {JAVA_HOME}/jre/lib/security directory.
6. Copy the generated cert certificate to the $ {JAVA_HOME}/jre/lib/security directory.
7. Run the following command in the $ {JAVA_HOME}/jre/lib/security directory:
Keytool-import-alias hp-keystore cacerts-file hp. cer
When you execute this command, you will be prompted to enter the password, which is the default password of the cacerts file: changeit
8. You can view this certificate on the Java console.
Now run the Applet again. There should be no warning !!!
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.