/opt/ssc_data/ssc0/ssc_XXXX/conf/datasource.properties
에서 암호화 되어 있는 db.username과 db.password을 재암호화 또는 복호화 처리
■암호화
cd sca/bin
./pwtool /opt/ssc_data/ssc0/ssc_XXXX/conf/secret.key
Keys stored in "D:\0_tmp\1\bin\secret.key" will be used for encryption
Enter a string to be encrypted:
Encrypted value:
{fp0}jt//8sL5V814O5oEV0FPhxS7+TrRfLkV2mwjXGYHW14=
■복호화
cd sca/bin
./pwtool -d /opt/ssc_data/ssc0/ssc_XXXX/conf/secret.key
Key stored in D:\0_tmp\1\bin\secret.key will be used for decryption
WARNING: Decrypted value will be echoed to the standard output
Enter encrypted string:
Decrypted value:
myPassWd!