To reset Ambari database and LDAP passwords to a completely unencrypted state:
On the Ambari host, open
/etc/ambari-server/conf/ambari.propertieswith a text editor and set this propertysecurity.passwords.encryption.enabled=false
Delete
/var/lib/ambari-server/keys/credentials.jceksDelete
/var/lib/ambari-server/keys/masterYou must now reset the database password and, if necessary, the LDAP password. Run
ambari-server setupandambari-server setup-ldapagain.

