Steps for creating jks for SFTP tests

1) openssl req -x509 -newkey rsa:4096 -keyout myKey.pem -out cert.pem -days 365 -nodes
2) openssl pkcs12 -export -out node.p12 -inkey myKey.pem -in cert.pem -name sftp
3) keytool -v -importkeystore -srckeystore node.p12 -srcstoretype PKCS12 -destkeystore node.jks -deststoretype JKS -alias sftp
4) ssh-keygen -y -f myKey.pem > myKey.pub

Steps to create an AES key for snapshot encryption

1) Open bash
2) Go to directory where jks was saved
3) Execute the command with specific alias:
  keytool -genseckey -alias snapshot.master.key -keyalg aes -keysize 256 -storetype PKCS12 -keystore snapshot-encryption.jks -storepass keep_clear_mind
4) Ensure the key was generated and stored to jks:
  keytool -list -keystore snapshot-encryption.jks -storepass keep_clear_mind
