Hey all,

I'm very new to security and generating key files. I'm following the 
instructions I've found here: http://www.securityfocus.com/infocus/1677 and I'm 
having trouble generating the private / public key pair and certificate.

In step 2 it asks: "Enter pass phrase for C:\CA\private\CAkey.pem:". Is it 
looking for a value from a previous step?

Any help would be greatly appreciated,

Frank
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's the values entered and the error message.

C:\Program Files\OpenSSL>ca server

 Simple CA utility
 Written by Artur Maj ([EMAIL PROTECTED])

 Warning!
 The content of the C:\CA\temp\vnc_server directory will be removed.
 Press CTRL-C to break, or ENTER to continue...
--------------------------------------------------------------------
 Step 1: Generate the keys and the certificate request
--------------------------------------------------------------------

Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
.++++++
.....................................++++++
writing new private key to 'C:\CA\temp\vnc_server\server.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:Connecticut
Locality Name (eg, city) []:Burlington
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Secure
Organizational Unit Name (eg, section) []:Labs
Common Name (eg, YOUR name) []:Frank
Email Address []:[EMAIL PROTECTED]

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:walnut
An optional company name []:

--------------------------------------------------------------------
 Step 2: Sign the certificate
--------------------------------------------------------------------

Using configuration from C:\Progra~1\OpenSSL\openssl.conf
Loading 'screen' into random state - done
Enter pass phrase for C:\CA\private\CAkey.pem:
unable to load CA private key
8544:error:06065064:digital envelope routines:EVP_DecryptFinal:bad 
decrypt:./crypto/evp/evp_enc.c:509:
8544:error:0906A065:PEM routines:PEM_do_header:bad 
decrypt:./crypto/pem/pem_lib.c:423:

C:\Program Files\OpenSSL>

Reply via email to