Skip to content

Commit 0d03238

Browse files
Update doc with database encryptor (#414)
1 parent f83de78 commit 0d03238

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

source/adminguide/hosts.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,10 @@ To change a Node's password:
244244

245245
.. code:: bash
246246
247-
java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar \
248-
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI \
249-
encrypt.sh input="newrootpassword" \
250-
password="databasekey" \
251-
verbose=false
247+
java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar \
248+
com.cloud.utils.crypt.EncryptionCLI \
249+
-p databasekey \
250+
-i newrootpassword
252251
253252
#. Get the list of host IDs for the host in the cluster where you are
254253
changing the password. You will need to access the database to

source/adminguide/management.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ add the encrypted password to
181181

182182
.. code:: bash
183183
184-
# 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
184+
# java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar com.cloud.utils.crypt.EncryptionCLI -p `cat /etc/cloudstack/management/key` -i newpassword123
185185
186186
187187
File encryption type

0 commit comments

Comments
 (0)