Sign one using plugin 1. Java Applet for version 3
Source: Internet
Author: User
Subject: Sign one using plugin 1. 3 version of the Java applet (author: Landscape Welcome reprint!) Ha ha! ~!@#$%^&*)
Date:sat, APR 2001 13:33:24 +0800
From: "Landscape" <wflm@263.net>
Newsgroups:ChinaFCU.JAVA
Sign one using plugin 1. 3 version of the Java applet (author: landscape welcome reprint haha!) ~!@#$%^&*)
To sign a small program, there are several things that need to be done:
1. Signature tool
2. A RAS KeyPair and a certificate chain for a public key.
3. Package all the class files used by the applet into a jar file.
Signature tool
There are now two tools to support the signing of small programs that use Plug-ins
1. Jarsigner--You can find 2 in the JDK. Netscape signing Tool Netscape offers a signed
A small program tool used to sign the applet used in the Netscape browser. The latest version can be
http://developer.netscape.com/software/signedobj/jarpack.html Download
Note: Netscape has no longer provided the download of the old version of the signature tool
RSA Certificate
The RSA certificate needs to be purchased from a CA company that supports RAS. such as Thawte
To sign your applet with an RSA certificate, you need to obtain a Java code Signing certificate from Thawte or other CAs
Book. You may need to provide a certificate signing request file (CSR) When you register your certificate you can use the following
Steps:
---------------------------------------------------------
1. Use Keytool to build an RSA KeyPair
2. C:>c:jdk1.3inkeytool-genkey-keyalg Rsa-alias MyCert
3. Enter KeyStore Password: ********* file://Type your keystore password
4. What is your name? file://The following is the type of your information
[Unknown]: XXXXXXX YYY
5. What is the name of your organizational?
6. [Unknown]: Java Software
7. What is the name of your organization?
8. [Unknown]: Sun Microsystems
9. What is the name of your city or locality?
[Unknown]: Cupertino
What is, name of your state or province?
[Unknown]: CA
What is the Two-letter country code for this unit?
[Unknown]: US
Is <cn=xxxxxxx YYY, Ou=java Software, O=sun Microsystems, L=cupertino,
St=ca, c=us> correct?
[No]: Yes file://confirm and press Y to finish
Enter key password for <MyCert> file://type your key password. If you press the back-train password and
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.