Link to home
Start Free TrialLog in
Avatar of Netsol-NOS
Netsol-NOS

asked on

SSL Certificate on Apache (Windows OS)

Dear EE,

I have SSL certificate with the extension (.pfx).
I have Apache 2.4 installed on Windows 2012 R2.

I need to configure the SSL Certificate on Apache (Windows Based).

Your kind support is needed.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Kimputer
Kimputer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Netsol-NOS
Netsol-NOS

ASKER

Dear Kimputer,

Thanks for your quick reply..

openssl.exe pkcs12 -in myCert.pfx -nocerts -out privateKey.pem
openssl.exe rsa -in privateKey.pem -out server.key
openssl.exe pkcs12 -in myCert.pfx -clcerts -nokeys -out server.crt


Above commands runs sccessfully.

Now i am confuse where should i go next  for below configuration.

The server.key and server.crt are to be used in your apache config file.
ex.

SSLEngine on
SSLCertificateFile d:\server.crt
SSLCertificateKeyFile d:\server.key



Thanks
Download from: = DONE
https://indy.fulgan.com/SSL/openssl-1.0.2t-x64_86-win64.zip = DONE
Unzip to a folder. = DONE
Copy fpx file to that folder too. = DONE
CMD to that folder = DONE
Use these commands. = DONE

openssl.exe pkcs12 -in myCert.pfx -nocerts -out privateKey.pem = DONE
openssl.exe rsa -in privateKey.pem -out server.key = DONE
openssl.exe pkcs12 -in myCert.pfx -clcerts -nokeys -out server.crt = DONE



Please explain below steps in little bit detail very much appreciated.


The server.key and server.crt are to be used in your apache config file.
ex.

SSLEngine on
SSLCertificateFile d:\server.crt
SSLCertificateKeyFile d:\server.key
I am stuck on your send step please help,
The server.key and server.crt are to be used in your apache config file.
ex.

SSLEngine on
SSLCertificateFile d:\server.crt
SSLCertificateKeyFile d:\server.key


screenshot is attached
File.jpg
the info you now need within your SSL.conf point the Certificate to

you may also need to download the CA certificates that signed your certificate.
what happens after you restart apache web server?
What info or error do you get when accessing the server https://localhost?

do the files actually are in d:\ can you view the certificate .crt?