You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by yarish kumar <ya...@gmail.com> on 2014/03/24 10:46:02 UTC
Decrypting the password that we get using "getVmPassword" API
Hi -
I am using getVmPassword() API to get ENCRYPTEDTEXT
now i would like to decrypt using the following methods described in the
wiki.
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34014652
$ openssl enc -in ciphertext -out binarytext -d -a
cipertext - has the encrypted password text.
after executing the command , getting empty(0 byte) binarytext file!
next step returns password
$ openssl rsautl -decrypt -in binarytext -out plaintext -inkey private.pem
am I missing anything or the documentation has typos ?
Thanks
yarish kumar