Migrating SSL Cert from IIS to Apache - page 3

Author: Steven Neiland
Published:

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Step 3: Enable SSL on Apache

Assuming you installed apache with the openssl module the next step is to enable it. uncomment the relevent line in the loadmodules section of httpd.conf.

LoadModule ssl_module modules/mod_ssl.so

Next ensure that apache is listening on port 443. In older versions of apache the ssl settings were included in the main conf file. In that instance you would add the listen directive in the main conf file.

Listen 443

For me however the ssl settings have been moved into a seperate text file "extras/httpd-ssl.conf" so I simply uncommented the relevent include file in the main conf file.

# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
1 2 3 4

Reader Comments

NS's Gravatar
NS
Wednesday, November 7, 2012 at 3:40:12 AM Coordinated Universal Time

Thanks for this, had to put the IIS cert on the apache reverse proxy...followed your steps, perfect.
Thanks a lot.

Carlo Idini's Gravatar
Carlo Idini
Monday, February 3, 2014 at 11:53:26 AM Coordinated Universal Time

Thank you!
It has worked perfectly for me.
I was looking for a solution from hours,
very crear and useful!
Carlo

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain advertisments or appear to be created for the purpose of link building, will not be published.

Archives Blog Listing