Douglas Wikström wrote:
> 
> Hello!
> 
> Can somebody tell me how I can create a selfsigned CA-cert using a
> generated .cnf file as below, but where I am prompted to input the
> passphrase to be used by the cert-repository?
> 
> cat <<EOF > ${DMIX_HOME}/ssl/ca_openssl.cnf
>         RANDFILE               = $ENV::HOME/.rnd
> 
>         [ req ]
>         default_bits           = 1024
>         default_keyfile        = keyfile.pem
>         distinguished_name     = req_distinguished_name
>         attributes             = req_attributes
> 
>         prompt                 = no
>         output_password        = mypass
> 
>         [ req_distinguished_name ]
>         C                      = SE
> #        ST                     = Test State or Province
> #        L                      = Test Locality
>         O                      = SICS
>         OU                     = ARC
>         CN                     = ca.sics.se
> #        emailAddress           = [EMAIL PROTECTED]
> 
>         [ req_attributes ]
>         challengePassword              = A challenge password
>         challengePassword_min          = 4
>         challengePassword_max          = 20
> 
> EOF
> 

Erm, comment out the "out_password" line?

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Gemplus: http://www.gemplus.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to