Removing Passphrase From SSL Key

It’s good practice to password protect any encryption keys but it’s not always practicle to do so. So in doing this it degrades security for convenience.

Create a copy to backup the key in case something goes wrong:
cp my.key my.key.bak

Remove the pass phase:
sudo openssl rsa -in my.key -out new.key

It will prompt for the passphrase to produce a new version of the key without a passphrase.

Removing a passphrase from an SSL Key

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.