Solutions for resolving self-signed applets still pop-up security warning boxes

Source: Internet
Author: User

I searched a lot of programs on the Internet and did not solve the problem of the bullet warning box. Explore the following scenarios yourself:

1. Generate KeyStore files and cert certificates by self-signed step

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. Go to the Java console of the client and set the security level to "medium"


4. Enter "Manage Site List" To add the address of the server

\

5. Locate the path where the JRE is located and enter the ${java_home}/jre/lib/security directory


6. Copy the generated CERT certificate to the ${java_home}/jre/lib/security directory

7. Execute 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 for the password, which is the default password for the Cacerts file: Changeit


8. You can view this certificate in the Java console


Now rerun the applet, there should be no pop-up warning!!!



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Solutions for resolving self-signed applets still pop-up security warning boxes

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.