Chris W. Parker wrote:

I'm trying to move my current working certificate from an IIS 5.0 server
to Apache 2 on my RH 9 machine. I have exported the file successfully
from the Windows machine as well as converted it to the PEM format with:
openssl pkcs12 -in www-swatgear.pfx -out www-swatgear.pem.

If it's password protected, you may need to do this:

 openssl pkcs12 -nodes -in www-swatgear.pfx -out www-swatgear.pem

But now I'm not sure what to do. I don't know how to turn the file into
.key and .crt files.

Does the resulting certificate have both a certificate (BEGIN CERTIFICATE) and a key (BEGIN RSA PRIVATE KEY)? If so, use any *text* editor to create standalone cert and key files. Then point SSLCertificateFile & SSLCertificateKeyFile in Apache's SSL config to the corresponding files.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to