{"id":163,"date":"2013-09-05T06:27:00","date_gmt":"2013-09-05T06:27:00","guid":{"rendered":"http:\/\/219@jodohost.com\/\/blog\/"},"modified":"2013-09-05T06:27:00","modified_gmt":"2013-09-05T06:27:00","slug":"how-to-decrypt-a-private-key-through-the-linux-command-line","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/09\/05\/how-to-decrypt-a-private-key-through-the-linux-command-line\/","title":{"rendered":"How to decrypt a private key through the Linux command line"},"content":{"rendered":"<p>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.<\/p>\n<p>[root@Mailtest ~]# openssl rsa -in enc.key -out dec.key<br \/>Enter the passphrase for enc.key:<br \/>Writing the RSA key<br \/>[root@Mailtest ~]# ll<br \/>total 8<br \/>-rw-r&#8211;r&#8211; 1 root root 1679 Sep\u00a0 5 07:10 dec.key<br \/>-rw-r&#8211;r&#8211; 1 root root 1766 Sep\u00a0 5 06:49 enc.key<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. [root@Mailtest ~]# openssl rsa -in enc.key -out dec.keyEnter the passphrase for enc.key:Writing the RSA key[root@Mailtest ~]# lltotal 8-rw-r&#8211;r&#8211; 1 root root 1679 Sep\u00a0 5 07:10 dec.key-rw-r&#8211;r&#8211; 1 root [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/163"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}