# Importing certificates

Follow these steps to import each certificate into the other's trust store.

1. On the client, import the server certificate into the client's trust store:

       keytool -import -alias favoriteServerCertificate \
       -file ServerCertificate -keystore ~/vault/ClientTrustStore \
       -storepass secretClientTrustStorePassword

2. On the server, import the client certificate into the server's trust store:

       keytool -import -alias Client_1_Certificate \
       -file ClientCertificate -keystore ~/vault/ServerTrustStore \
       -storepass secretServerTrustStorePassword

Parent topic: Configuring SSL/TLS
Related concepts
Booting the server and connecting to it
Key and certificate handling
Starting the server with SSL/TLS
Running the client with SSL/TLS
Other server commands
Related tasks
Creating a client key pair and certificate
Creating a server key pair and certificate