Importing the Certificate into the Host System’s Truststore

The bskey.cert file can now be imported into the web service provider’s truststore as a trusted certificate.

The command could be used to accomplish this (on the system that hosts the web service).

C:\Users\Administrator>keytool -import -file bskey.cert -keystore c:\apps\bstrust.jks -alias bskey -v Enter keystore password: Re-enter new password: Owner: CN=Clint Hill, OU=Claims, O=EasyAs Insurance, L=Swindon, C=UK Issuer: CN=Clint Hill, OU=Claims, O=EasyAs Insurance, L=Swindon, C=UK Serial number: 4c7e6e6b Valid from: Wed Sep 01 16:16:59 BST 2010 until: Sat Aug 27 16:16:59 BST 2011 Certificate fingerprints: MD5: FF:0B:67:D6:59:1A:87:38:BB:84:19:4A:C9:9E:C2:C3 SHA1: E3:92:E1:4F:8A:EA:6D:A7:90:2D:36:FC:40:90:48:EF:71:2B:BC:33 Signature algorithm name: SHA1withRSA Version: 3 Trust this certificate? [no]: yes Certificate was added to keystore [Storing c:\apps\bstrust.jks]