Page MenuHomeDevCentral

Hash Tomcat credentials
Closed, ResolvedPublic

Description

Out of the box, Orbeon is configured to use a tomcat-users.xml with cleartext credentials.

Short-term plan is to switch to hashes:

  • orbeon.xml is configured in rOPS under "server.xml", rename it
  • import server.xml in rOPS as is
  • switch to SHA-256 hashes both in Vault and in server.xml

Middle-term to long-term plan is to switch to LDAP or another SSO solution once we've Keycloak or an identity provider configured.

Event Timeline

dereckson triaged this task as High priority.Oct 13 2025, 20:24
dereckson created this task.

Credentials have been hashed directly in Vault, so we don't need to manipulate cleartext password with Salt.
Salt updated the tomcat-users.xml accordingly.

Server successfully restarted and I can login with my password.

Agora documentation updated: https://agora.nasqueron.org/index.php?title=Operations_grimoire%2FOrbeon&diff=2047&oldid=1372

dereckson moved this task from Backlog to Pending review on the Servers board.
dereckson shifted this object from the Restricted Space space to the S1 Nasqueron space.
dereckson changed the visibility from "Nasqueron security operations squad (Project)" to "Public (No Login Required)".