The knowledge file for a DSA can contain the passwords for other DSAs and for LDAP servers, which allows the DSA to authenticate those other DSAs and LDAP servers. However, because the knowledge file is in plain text, this is a security risk.
The DXpassword tool can produce obfuscated passwords, by specifying the encryption method CADIR. This helps shield passwords in configuration files from users with access to the computer running the DSA.
To hide passwords in knowledge files
dxpassword -P CADIR password
The output contains the hashed password.
Example: Hide an LDAP server's password
In this example, the password for the LDAP server is HelloThere. The DSA knowledge file currently contains the following line:
ldap-dsa-password = "HelloThere"
dxpassword -P CADIR HelloThere
{CADIR}4YuDX1xmndSL7A==
ldap-dsa-password = "{CADIR}4YuDX1xmndSL7A=="
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |