> I want to create my private  key  and the CA key
To make life easier, here are the commands to create your own CA
key and cert, it also creates a DER-encoded export of the CA cert
for Browser import. Put it in a batch file in your openssl\bin dir
and run it. All you have to do, is enter the data openssl asks for:

cagen.bat:
==========
@echo off
echo Generating RSA private Keys for Root CAs ...
openssl genrsa -des3 -out ca.key 1024
echo Generating Certificate Requests for Root CAs...
openssl req -config ..\openssl.cnf -new -key ca.key -out ca.csr
echo Generating Self-signed Certificates for Root CAs...
openssl x509 -days 1460 -signkey ca.key -in ca.csr -req -out ca.pem
echo Generating DER-encoded Certificates for public export
openssl x509 -in ca.pem -outform DER -out caDER.crt
==========

This will generate a four years valid CA keyfile, certificate request,
the certificate and a DER-encoded version of the certificate.
Hope this will solve your problem.

Daniel
______________________________________________________________________
The OpenSA Project                              http://www.opensa.org/
Daniel S. Reichenbach                                   [EMAIL PROTECTED]

Reply via email to