Is there an option to encrypt keystorePass value in tomcat server.xml? I don\'t want it to be a plain text
Here's a handy Perl one-liner to XML encode a password:
$ perl -pe 's/(.)/"".ord($1).";"/eg;' <<< 'secret' # secret