How to encrypt passwords for the adapter.ini file

Windows                                                                                

  1. Open the Windows Sovos ECC and S/4Hana Server kit.
  2. Go to the <sovos_kit_base>/crypto/configuration folder and enter the information for the following parameters of the adapter.ini file:
      1. encrypted_connection_password, true/false
      2. encrypted_destination_password, true/false
  3. Go to the <sovos_kit_base>/crypto folder.
  4. Run the runJcoCrypto.bat script. You will see a similar screen:



  5. Copy the encrypted passwords.
  6. Go to <sovos_kit_base>/configuration.
  7. Update the adapter.ini file with the encrypted passwords.
  8. Update the adapter.ini file with the appropriate values for
      1. encrypted_connection_password
      2. encrypted_destination_password
  9. Perform a full calculation request in the Sovos JCo Server application to test that the encryption/decryption was successful.
  10. Delete <sovos_kit_base>/crypto for security reasons.

Linux

  1. Open the Linux Sovos ECC and S/4Hana JCo Server kit.
  2. Go to the <sovos_kit_base>/crypto/configuration folder and enter the information for the following parameters of the adapter.ini file:
      1. encrypted_connection_password, true/false
      2. encrypted_destination_password, true/false
  3. Go to the <sovos_kit_base>/crypto folder.
  4. Open the runJcoCrypto.sh script.
  5. Update the location for <java_home> and save.
  6. Run the runJcoCrypto.sh script. You will see a similar screen:



  7. Copy the encrypted passwords.
  8. Go to <sovos_kit_base>/configuration.
  9. Update the adapter.ini file with the encrypted passwords.
  10. Update the adapter.ini file with the appropriate values for:
  11. encrypted_connection_password
  12. encrypted_destination_password 
  13. Perform a full calculation request in the Sovos JCo Server application to test that the encryption/decryption was successful.
  14. Delete <sovos_kit_base>/crypto for security reasons.

You can store both encrypted and plain text passwords in the adapter.ini file.