Check/change key passphrase with openssl

by on Dec.14, 2010, under Linux, System Administration

Quick post for my future reference, and for anyone Googling.

To check the passphrase for a key is correct:

openssl rsa -check -in keyfilename

To change the passphrase for a key:

openssl rsa -des3 -in keyfilename -out newkeyfilename


1 Comment for this entry

  • Horst Schlämmer

    openssl rsa -des3 -in keyfilename -out newkeyfilename

    doesn’t work on OSX. Tunnelblick is logging -> Bad encrypten…

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!