Closed granterogers closed 1 year ago
No, if the private key is encrypted, a PBE (password based encryption) scheme is used that creates a random value called "salt".
You can disable encryption by leaving the password fields empty. Then the PEM file has always the same content.
When a PEM file is generated from a Keystore file, the resultant PEM file is different each time the operation is run on the same Keystore file.
Steps to reproduce the behavior: Alias -> Export -> Export Key Pair -> PEM
Should the PEM file generated not be identical each time if using the same keystore file?