SSL Certificate on Apache (Windows OS)

Netsol-NOS
Netsol-NOS used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Download from:
https://indy.fulgan.com/SSL/openssl-1.0.2t-x64_86-win64.zip
Unzip to a folder.
Copy fpx file to that folder too.
CMD to that folder
Use these commands.

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

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

Author

Commented:
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

Author

Commented:
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

Author

Commented:
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
Distinguished Expert 2017

Commented:
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?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial