R
Rogue Chameleon
Hi all
My objective is to pass an encrypted file between two servers. On server A,
I want to use a public key to encrypt the file. On server B, I want to use
a private key to decrypt the file.
What I've determined so far is:
- I will use CipherOutputStream to write out the encrypted file
- I will use CipherInputStream to read in the encrypted file
- I will have a password-protected .keystore file on server B that will
contain the private key
My question is, how do I store the public key on server A?
My objective is to pass an encrypted file between two servers. On server A,
I want to use a public key to encrypt the file. On server B, I want to use
a private key to decrypt the file.
What I've determined so far is:
- I will use CipherOutputStream to write out the encrypted file
- I will use CipherInputStream to read in the encrypted file
- I will have a password-protected .keystore file on server B that will
contain the private key
My question is, how do I store the public key on server A?