...
Code Block |
---|
$> jarsigner -verify -verbose -certs d:\TestApplet.jar 245 Wed Mar 10 11:48:52 PST 2000 META-INF/manifest.mf 187 Wed Mar 10 11:48:52 PST 2000 META-INF/MYCERT.SF 968 Wed Mar 10 11:48:52 PST 2000 META-INF/MYCERT.RSA smk 943 Wed Mar 10 11:48:52 PST 2000 TestApplet.class smk 163 Wed Mar 10 11:48:52 PST 2000 TestHelper.class X.509, CN=XXXXXXX YYY, OU=Java Software, O=Sun Microsystems, L=Cupertino, ST=CA, C=US (mycert) X.509, CN=Sun Microsystems, OU=Java Plug-in QA, O=Sun Microsystems, L=Cupertino, ST=CA, C=US X.509, EmailAddress=server-certs@thawte.com, CN=Thawte Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA s = signature was verified m = entry is listed in manifest k = at least one certificate was found in keystore i = at least one certificate was found in identity scope keytool -genkey -keyalg rsa -dname "cn=Renaud Thirion, ou=Pfouing, o=Pfouing, l=Paris, ST=France, c=FR" -alias pfouing_key -keypass pfouing_store_pass -keystore PFOUING -storepass pfouing_store_passParameters : - genkey: parameter used to generate a certificate. - keyalg: parameter indicating the algorithm used. - dname: parameter gathering information of the person who created the certificate. - alias: alias. - keypass: password protecting the key. - keystore: name of the keystore. - storepass: password protecting the keystore. This command will generate a file named "PFOUING" representing the keystore. keytool \-export \-alias pfouing_key \-file certif.crt \-keystore PFOUING \-storepass pfouing_store_passParameters : - export: parameter used to export the certificate. - alias: alias. - file: name of the file which will contain the certificate. - keystore: name of the keystore. - storepass: password protecting the keystore. This command will generate a file named "certif.crt" containing the certificate. |
...