Hi, I am able to run the command successfully (cloudstack verison: 4.16.0.0).
PS1: The command you posted is used to change the DB password, but you wanted to reset UI login. Please double check. PS2: The command is not correct. I think It should use the DB key not the management key (/etc/cloudstack/management/key). The default value of both keys is 'password'. -Wei On Mon, 29 Nov 2021 at 16:47, Cloud Udupi <udupi.cl...@gmail.com> wrote: > Hi, > Apache CloudStack version is 10.14. Just now re-checked. > Yes, its "jasypt-1.9.3.jar" > > [image: Screenshot 2021-11-29 at 9.11.21 PM.png] > > Is there any updated links that I can refer to rest the password for ACS. > > Thanks, > Mark. > > On Mon, Nov 29, 2021 at 9:06 PM Wei ZHOU <ustcweiz...@gmail.com> wrote: > >> Hi, >> >> Can you check the jasypt version in /usr/share/cloudstack-common/lib/ ? >> Older cloudstack versions use jasypt-1.9.2.jar not jasypt-1.9.3.jar . >> >> -Wei >> >> On Mon, 29 Nov 2021 at 16:17, Cloud Udupi <udupi.cl...@gmail.com> wrote: >> >> > Hi All, >> > >> > I am trying to reset the ACS UI login password as described in the >> links >> > below. >> > >> > URL :- >> > >> > >> https://svn.apache.org/repos/asf/cloudstack/docsite/html/docs/ko-KR/Apache_CloudStack/4.1.0/html/Admin_Guide/change-database-password.html >> > >> > >> http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/management.html#changing-the-database-password >> > >> > I am using ACS version 4.13 and MariaDB 10.3 >> > >> > I just wanted to change the login password and followed the >> > above instructions. I am able to change the password in MariDB . >> > When tried the next step, I am getting this below error >> > >> > java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.3.jar \ >> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \ >> > input="newpassword123" password="`cat /etc/cloudstack/management/key`" \ >> > verbose=false >> > >> > Error: Could not find or load main class >> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI >> > >> > Caused by: java.lang.ClassNotFoundException: >> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI >> > >> > >> > Tried this below also same issue, >> > >> > java -classpath /usr/share/java/cloud-jasypt-1.8.jar \ >> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \ >> > input="newpassword123" password="management_server_secret_key" \ >> > verbose=false >> > >> > Error: Could not find or load main class >> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI >> > >> > Caused by: java.lang.ClassNotFoundException: >> > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI >> > >> > >> > I can see this file exists at this path "/etc/cloudstack/management/key" >> > >> > >> > Can someone help me fix the issue. >> > >> > >> > Thankyou, >> > >> > Mark. >> > >> >