replace the private key file with the encrypted.