May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Tcserver password encoding and decoding

 

Tc Server 3.2.0 introduced a new command for encoding passwords

 

./tcruntime-admin.sh encode mypassword passkey

 

Please, take a look at following link for more information

 

http://tcserver.docs.pivotal.io/docs-tcserver/topics/manual.html#obfusc

 

The old style can still be used but a new property is needed and the jasypt can be left off the classpath as they are found automatically now based on catalina.home.

 

So your commmand would look like

 

/usr/mware/java/bin/java -cp /usr/mware/tcServer/tomcat-8.5.9.B.RELEASE/lib/tcServer3.jar:\

/usr/mware/tcServer/tomcat-8.5.9.B.RELEASE/bin/tomcat-juli.jar::\

/usr/mware/tcServer/tomcat-8.5.9.B.RELEASE/lib/tomcat-util.jar:: \ -Dcatalina.home=/usr/mware/tcServer/tomcat-8.5.9.B.RELEASE/ \ com.springsource.tcserver.security.PropertyDecoder -encode passkey mypassword

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>