1, into the DOS command line, into the directory C:\Program Files (x86) \java\jre6\lib\security,
2, Import command:
Keytool-import-keystore "C:\Program Files (x86) \java\jre6\lib\security\cacerts"-storepass Changeit
-keypass Changeit-alias Emailcert-file Test.cer
Owner: Cn=yu, Ou=chinaabc, O=CHINAABC, l=beijing, st=beijing, C=CN
Issuer: Cn=yu, OU=CHINAABC, O=CHINAABC, l=beijing, st=beijing, C=CN
Serial Number: 517754e3
Validity period: Wed APR 11:43:31 CST 2013 to Tue 11:43:31 CST 2013
Certificate fingerprint:
md5:26:e3:eb:82:5c:35:a5:d3:03:ef:10:fa:d0:f4:20:1f
Sha1:1f:ca:11:b7:52:91:cf:eb:e4:45:ff:48:1e:20:02:3b:fe:7c:29:ac
Signature Algorithm Name: Sha1withrsa
Version: 3
Trust this authentication. [No]: Y
Authentication has been added to the KeyStore
3, delete the command
Keytool-delete-alias Emailcert-keystore "C:\Program Files (x86) \java\jre6\lib\security\cacerts"
-storepass Changeit