Solution: The self-Signed Applet still pops up the security warning box, signature applet

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.