Login to Members Area

Choose the service you want to log in
24x7x365 Presence
Live Chat

Hosting Blog


How to decrypt a private key through the Linux command line

Save the encrypted key in the file enc.key and run the command below and paste the password. You will get the decrypted key in the file dec.key.

[[email protected] ~]# openssl rsa -in enc.key -out dec.key
Enter the passphrase for enc.key:
Writing the RSA key
[[email protected] ~]# ll
total 8
-rw-r--r-- 1 root root 1679 Sep  5 07:10 dec.key
-rw-r--r-- 1 root root 1766 Sep  5 06:49 enc.key

Manoj Thursday 05 September 2013 - 06:27 am | | Default

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.