[ILUG] How to create a passphraseless CA key

Braun Brelin bbrelin at gmail.com
Thu Sep 1 13:15:57 IST 2005


Folks,

I'm trying to create a passphrase less CA key with openssl. So far I haven't 
been able to do so. 
I created a key using openssl genrsa -des3 -out my-ca.key 2048

It asked me for a passphrase. I typed in 'foobar'

Everything I've read tells me that in order to create a "passphraseless" 
key, I have to do the following:

cp my-ca.key my-ca.key.org <http://my-ca.key.org>
openssl rsa -in my-ca.key.org <http://my-ca.key.org> -out my-ca.key

However, the program will ask me for the passphrase for the original key and 
then ask me for a new passphrase. It won't take anything less than four 
characters for the new passphrase. 

How do I make the rsa command stop asking me for a new passphrase for my new 
key? 

i'm running Red Hat Enterprise Linux on a Dell system. 

Thanks,

Braun Brelin
OpenApp



More information about the ILUG mailing list