I have moved my blog from blogger to wordpress.com
Visit here instead:
http://virtualdevops.com
@oliverleach
/etc/cloud/management/db.properties
# CloudStack database tuning parameters db.cloud.password=ENC(57nNfvJaN9X54lbJi0pjugc9YylyRo8c) db.cloud.username=cloudadmin db.cloud.host=10.0.26.16 db.cloud.validationQuery=SELECT 1 db.cloud.testOnBorrow=true
java -classpath /usr/share/java/cloud-jasypt-1.8.jar
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI
encrypt.sh input="Password12"
password="$(cat /etc/cloud/management/key)" verbose=true
input=Password12
$ java -classpath /usr/share/java/cloud-jasypt-1.8.jar
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI
encrypt.sh input="Password12"
password="$(cat /etc/cloud/management/key)" verbose=true
----ENVIRONMENT----------------- Runtime: Sun Microsystems Inc. OpenJDK 64-Bit Server VM 20.0-b12 ----ARGUMENTS------------------- verbose: true input: Password12 password: password ----OUTPUT---------------------- 57nNfvJaN9X54lbJi0pjugc9YylyRo8c
java -classpath /usr/share/java/cloud-jasypt-1.8.jar
org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI
decrypt.sh input="57nNfvJaN9X54lbJi0pjugc9YylyRo8c"
password="$(cat /etc/cloud/management/key)" verbose=false