Hi I'm pretty new to encryption stuff. I'm stuck at transforming the client
certificate from pem format into p12:
openssl pkcs12 -export \
-in sabrecert.pem \
-inkey sabrekey.pem \
-name "Sabre certificate" \
-certfile /usr/local/apache/1.3.9/conf/ssl.crt/ca.crt \
-out sabre.p12
Enter PEM pass phrase:
No certificate matches private key
Any ideas? The following is what I've done:
1) install apache
2) compile the rsa library
3) compile openssl, test openssl
4) configure mod_ssl
5) remake apache (wth openssl)
6) make certificate TYPE=custom (making my own CA)
7) make install
8) openssl genrsa -des3 -out sabrekey.pem 1024
9) openssl req -new -key sabrekey.pem -out sabrereq.pem
10) openssl ca -keyfile /usr/local/apache/1.3.9/conf/ssl.key/ca.key \
-cert /usr/local/apache/1.3.9/conf/ssl.crt/ca.crt \
-in sabrereq.pem \
-outdir ./ -out sabrecert.pem
11) openssl pkcs12 -export \
-in sabrecert.pem \
-inkey sabrekey.pem \
-name "Sabre certificate" \
-certfile /usr/local/apache/1.3.9/conf/ssl.crt/ca.crt \
-out sabre.p12
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ed Yu, IBM Certified Specialist - AIX System Administrator
Information Technology Manager,
University of South Carolina,
Advanced Solutions Group, Physics Dept.,
Columbia, SC 29208
Office (803)777-8831, FAX (803)777-8833, Email [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]