|
|
|
|||
|
Import the Certificate as a Trusted CertificateSuppose that you are Ruth and have received from Stan Smith
Before you can use the Even though you (acting as Stan) created these files and they haven't
actually been transported anywhere, you can simulate
being someone other than the creater and sender, Stan.
Acting as Ruth, type the following to create a keystore named
Since the keystore doesn't yet exist, it will be created. You will be prompted for a keystore password; type whatever password you want.keytool -import -alias stan -file StanSmith.cer -keystore ruthstore The If the fingerprints he sees are the same as the ones reported to you bykeytool -printcert -file StanSmith.cer keytool,
the certificate has not been modified
in transit. In that case you let keytool proceed with placing
a "trusted certificate" entry in the keystore.
The entry contains the public key certificate
data from the file StanSmith.cer and is assigned the alias
stan.
| |||
|