This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 0d03238  Update doc with database encryptor (#414)
0d03238 is described below

commit 0d03238931c4353fa233f73772bf554792368469
Author: Suresh Kumar Anaparti <[email protected]>
AuthorDate: Thu Jul 18 19:53:21 2024 +0530

    Update doc with database encryptor (#414)
---
 source/adminguide/hosts.rst      | 9 ++++-----
 source/adminguide/management.rst | 2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/source/adminguide/hosts.rst b/source/adminguide/hosts.rst
index 6feeabd..fee3cd3 100644
--- a/source/adminguide/hosts.rst
+++ b/source/adminguide/hosts.rst
@@ -244,11 +244,10 @@ To change a Node's password:
 
    .. code:: bash
 
-      java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar \
-      org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI \
-      encrypt.sh input="newrootpassword" \
-      password="databasekey" \
-      verbose=false
+      java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar \
+      com.cloud.utils.crypt.EncryptionCLI \
+      -p databasekey \
+      -i newrootpassword
 
 #. Get the list of host IDs for the host in the cluster where you are
    changing the password. You will need to access the database to
diff --git a/source/adminguide/management.rst b/source/adminguide/management.rst
index 3808b64..78d4917 100644
--- a/source/adminguide/management.rst
+++ b/source/adminguide/management.rst
@@ -181,7 +181,7 @@ add the encrypted password to
 
    .. code:: bash
 
-           # java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar 
\ org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \ 
input="newpassword123" password="`cat /etc/cloudstack/management/key`" \ 
verbose=false
+           # java -classpath 
/usr/share/cloudstack-common/lib/cloudstack-utils.jar 
com.cloud.utils.crypt.EncryptionCLI -p `cat /etc/cloudstack/management/key` -i 
newpassword123
 
 
 File encryption type

Reply via email to