Configuring SSL on Apache

Our local server run on HTTP protocol. Then how will you work with facebook APIs where you need secured protocol now to work with APIs. Well its very easy to configure WAMP for ssl. Follow the steps below and you are done with it.

  1.  Left click on wamp icon in taskbar in windows and go to apache->apache modules and select ssl_module.
  2. Left click on wamp icon again. php->php extensions. Select php_openssl.
  3. Most important restart your wamp and you are done.
For those who want to configure by editing file do the following.
  1. Open httpd.conf in apache->conf folder.
  2. Uncomment the line saying or write ‘LoadModule ssl_module modules/’ minus the quotes(‘).
  3. Uncomment the line php.ini file in apache folder ‘extension=php_openssl.dll’ minus quotes(‘).
  4. Save  the doument and restart apache.
Configuring php for ssl is done by editing php.ini.
  1. Open the php.ini in PHP folder.
  2. Uncomment the line ‘extension=extension=php_openssl.dll’.
  3. Save it restart the server.

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: