Hi Dennis,
1. If the value of wlp.password.encryption.key
ends with one or two '=' characters, they sometimes may be escaped. Please remove the backward slash before the equal mark. For example, please use encryption key like this. (In this case, the clear password is 'password'.)
securityUtility.bat encode --encoding=aes --key=WTI201707121717ifhIuc6pWYWZRYg6CWX0*uDzRviJ8tTiTB+fvnNUBZcHG2nzGxmAdW4+W-ayoju-QeHaFLI-Ui7FR1TFvk2OpRSLxjRuIW85a8uJhyTE3zkVcL9VsHk+-0Hbtn6a5FB8d0DKb9c*ptYNAFOlZ7gkAeymI04BOuidNpV5seMXijPk6j*4vN3cVER4u45wNvwA15oQlxZz9XXb2i+Fadc40CnHFhaXxX5O1v+djXdQ8bhYxpzrQNUOMeNAGL+PXo9xKO1USegzGK3U7NGCP14y1zZD9E5emGdjTg7ew7NXKFTzHE0738y592*LUVtyPLSpmdIvhmHf4wJpLNvCBqmlFvfRVqKBZIYD3qej3SNcxtu0ke*nXUojG9Ta97lEuz3T5KiCy6Pncm-G2ZeQ8U+gAZe7SmbOkH6A+p9yYKz0MBFLoHJPE01izLTMHwO-BB8igZdMPIxXy9E1vyu0PIUxIjh8696z5D13kGDu7+OPWMmQbe*6s8nX== password
2. Please do not add any white space characters before or behind the value of wlp.keystore.password
. Here is an example.
wlp.keystore.password={aes}APSMLvb1pffAnPyW/ZaTHPKgP/+pAZFztejiZSyxlgke
------------------------------
Li Hui Yan (Autumn Yan)
From DMC Team
------------------------------
Original Message:
Sent: Fri February 07, 2020 07:20 AM
From: Dennis Barg
Subject: Encrypted Keystore Password Issue
Hi Li Hui Yan,
The bat file <install path>/wlp/bin/securityUtility.bat does not work. I have set the variables WLP_INSTALL_DIR and JAVA_CMD_QUOTED hardcoded.
After these adjustments I get a result. Similar to the following: {aes}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==
The https page cannot be accessed with this value. The http page still works.
Returned back to plain text password the https page works again.
------------------------------
Regards, Dennis
Original Message:
Sent: Fri February 07, 2020 12:43 AM
From: LI HUI YAN
Subject: Encrypted Keystore Password Issue
Please feel free to let us know if you have any more problem.
------------------------------
Li Hui Yan (Autumn Yan)
From DMC Team
Original Message:
Sent: Wed February 05, 2020 09:54 PM
From: LI HUI YAN
Subject: Encrypted Keystore Password Issue
Hi Dennis,
We got your question, and our development team will investigate and update with you ASAP. Thanks.
------------------------------
Li Hui Yan (Autumn Yan)
From DMC Team
Original Message:
Sent: Mon February 03, 2020 07:32 AM
From: Dennis Barg
Subject: Encrypted Keystore Password Issue
Hi,
We want to need the webconsole with https connection. To do that, I followed the instructions in:
https://www.ibm.com/support/knowledgecenter/SS5Q8A_3.1.x/com.ibm.datatools.dsweb.ots.security.doc/topics/https_cert.html
If I use a cleartext password in the seccion "wlp.keystore.password=" it works fine.
But if I used the result of the function <dmchome>\dsutil\bin\crypt.bat the webconsole is no longer accessible.
Product Name: IBM Db2 Data Management Console
Build: 20200121-103505
Version: 3.1.1.0
OS: Windows Server 2019 Standard
Is there a description of the solution?
------------------------------
Regards, Dennis
------------------------------
#Db2