in search of Tomcat's digest.sh

SLES12 provides the tomcat-8.0.32 package.

I installed all tomcat packages, but still cannot find CATALINA_HOME/bin/digest.[bat|sh]

This script is required to store hashed passwords in conf/tomcat-users.xml.

Kind regards, Tom

On 17/02/17 10:44, swadm wrote:
[color=blue]

SLES12 provides the tomcat-8.0.32 package.

I installed all tomcat packages, but still cannot find
CATALINA_HOME/bin/digest.[bat|sh]

This script is ‘required to store hashed passwords’
(http://tomcat.apache.org/tomcat-8.0-doc/realm-howto.html#Digested_Passwords)
in conf/tomcat-users.xml.[/color]

I also can’t find this script in any of the Tomcat packages - I did find
/usr/bin/tomcat-digest but that’s not the same one.

All I can suggest is downloading the archive file of the source code
matching the Tomcat version from archive.apache.org[1] to get this, and
other, missing files.

HTH.

[1] http://archive.apache.org/dist/tomcat/tomcat-8/

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.