I'm failing to figure out how to encrypt passwords for (slightly) different versions of Tomcat 8.0.x on different platforms.

With Tomcat 8.0.37 on MacOS, I run digest.sh with a password, placing the output in tomcat-users, and update the Realm for the Catalina engine to:
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase">           <CredentialHandler className="org.apache.catalina.realm.MessageDigestCredentialHandler" algorithm="SHA-512"/>
        </Realm>
      </Realm>

and that all works just fine.

But when I try to repeat the steps for Tomcat 8.0.14-1 on Linux (Debian), it does not work. How do I encrypt passwords for this version of Tomcat?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to