Reset Jaspersoft password for encryption
search cancel

Reset Jaspersoft password for encryption

book

Article ID: 136102

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

Reset Jaspersoft to be encrypted.  Currently showing up as cleartxt.  How can this be done without reinstalling Jasper?

Environment

Release : 14.2

Component : IdentityMinder(Identity Manager)

Cause

Password displays in cleartxt in the  \buildomatic\default_master.properties

Resolution

1. In \buildomatic edit the default_master.properties, put the correct passwords for the appropriate fields. 

 

2. Add encrypt=true to the bottom of the file.

 

3. Make sure there is no encrypt.done=true in the end of the file

 

4. Run js-ant refresh-config command from the command line inside buildomatic folder

 

5. Open the default_master.properties again, notice the db password now, it should be ENC-<encrypted string>

 

 

Copy that whole string and paste it to the password field in META-INF/context.xml and then restart tomcat service. 

 

<Note:  Once tomcat is restarted you will see the encrypt=true is changed to encrypt.done=true in the default_master.properties>