Full_Name: Robert Crook
Version: mod_ssl-2.4.1-1.3.9
OS: AIX4.2
Submission from: gate3.de.deuba.com (193.150.166.53)


First of all we created our own Certificate Authority


openssl genrsa -des3 -out ca.key 1024 
openssl req -new -x509 -days 365 -key ca.key -out ca.crt 


Then we created an SSL Server certificate

openssl genrsa -des3 -out server.key 1024 
openssl req -new -key server.key -out server.csr

We used the above created CA to generate a signed certifcate 
with the shell provided

 ./sign.sh server.csr

This generated the file server.crt

We then attempted to convert the file to a Browser formatted file
using pkcs12

openssl pkcs12 -export -name Server -in server.crt -inkey server.key -out
server.p12

The following error was returned

"no certificate matches private key"

We checked the key and the certificate 

openssl x509 -noout -modulus -in server.crt | openssl md5
with the following result
1ade944a98586173b04d2dc66673f913
openssl x509 -noout -modulus -in server.key | openssl md5
with the following result
1ade944a98586173b04d2dc66673f913

We also checked using 
openssl x509 -noout -text -in server.crt
and
openssl x509 -noout -text -in server.key

but they indictated no mismatch




______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to