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

What Do You Think?

Reader Comments

NS's Gravatar
NS
Wednesday, November 7, 2012 at 3:40:12 AM EST

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 EST

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

Post a Comment

Comment Etiquette:

  • 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 or appear to be advertisments, will not be published.
  • Comments that appear to be created for the purpose of linkbuilding to commercial sites will be removed.

We are all adults here so play nice.

*
*



Archives Blog Listing

Tag Listing

Learn CF In A Week

Treehouse

 
Fork me on GitHub