Encrypt passwords for basic authentication
In the Jobserver service configuration, you have to enter an encrypted password. To encrypt the password, use the reversehttp-gateway-standalone utility.
Prerequisites
- You have downloaded the reversehttp-gateway-standalone-<your_reverse_http_version>.jar file that corresponds to your CPSH version.
- You have the password of the CPSH user that you use to connect to your Collibra Platform Self-Hosted environment.
Steps
Note For security reasons, we have truncated the encrypted password in the example.
- Open a terminal or command prompt session.
- Go to the folder that contains the downloaded JAR file.
- Execute the following command:
java -jar reversehttp-gateway-standalone-<your_reverse_http_version>.jar encrypt - Enter the required information:
Collibra Reverse HTTP Gateway Enter value to encrypt: <password_of_Collibra_user> Re-enter value to encrypt: <password_of_Collibra_user> Encrypted value: encrypted:k7ScuJ3...Note If the entered values in this command don't match, it will ask the values again.
If you use an encrypted password in a configuration, use the full string of the Encrypted value result. This includes the prefix encrypted:.