• RSS
  • Delicious
  • Facebook
  • Twitter

JLBN

Free Guides, Themes, Photo, Games, Movies

JLBN – Setup HTTPS SSL on WAMP

Posted by BN November - 2 - 2008 309 Comments

Hypertext Transfer Protocol over Secure Socket Layer or HTTPS is a URI scheme used to indicate a secure HTTP connection. It is syntactically identical to the http:// scheme normally used for accessing resources using HTTP. Using an https: URL indicates that HTTP is to be used, but with a different default TCP port (443) and an additional encryption/authentication layer between the HTTP and TCP. This system was designed by Netscape Communications Corporation to provide authentication and encrypted communication and is widely used on the World Wide Web for security-sensitive communication such as payment transactions and corporate information systems.

In this tutor guide for WAMP, we will show you how to create a self-signed HTTPS SSL certificate; then, how to implement this self-signed certificate into WAMP; then, obtain a FREE Trusted HTTPS SSL Certificate to replace the self-signed one.

[Read more...]

309 Responses so far.

  1. StatsTrade says:

    Some important notes that may save some souls:

    1) Avast antivirus might popup some messages when installing WAMP, so make sure you don’t block yourself by accident.

    2) Skype is using port 80 and 443 by default. This may cause some serious problems during the configuration! You may also configure Skype to not use those ports (Skype Tools -> Options -> Advanced -> Connection).

    3) If you already have MySQL running on your machine for some reason, note that you’re about to install yet another MySQL instance together with your WAMP. Make sure you know which port is used for which MySQL. In particular, you’ll probably want to configure WAMP’s MySQL to be using port 3307. This is done in several places in my.ini and php.ini.

    4) Some other applications/servers may also interfere with your https://, e.g. VisualSVN Server is already working in https://localhost. I’d suggest you go to https://localhost in your browser even prior to this WAMP configuration and see if you have anything there… :)

    Good luck! Trade responsibly.

  2. Ronald says:

    Thank you very much very good supply

    although there are some minor errors in the httpd-ssl.conf
    corrergidos once these works great

    thanks

  3. Thanks 4 the great tutorial .. Unfortunately after all these steps, the apache is not working and its offline .. I tried to start it many times even from WINDOS SERVICES, it never works or even respond with a message … the orange tray color is always there !!! .. ANY SUGGESTIONS ??!!1

    • JL says:

      Mustafa Elbehery, check your httpd-ssl.conf and make sure there is no typo

    • Scott says:

      I arrived at the same conclusion. Absolutely NO typos but apache would still not fire up.

      For me simply going into C:\wamp\bin\apache\apache2.2.14\conf\http.conf

      and finding the line:

      #LoadModule ssl_module modules/mod_ssl.so

      Then removing the # symbol. save then restart worked for me.

      Cheers

  4. starchild says:

    Unfortunately after following all the steps (I did these steps before for wamp 2.0 successfully) as soon as you unhash the Include conf/extra/httpd-ssl.conf, apache will not start it’s service. After goin into httpd-ssl.conf, cutting everything out from the page and re-entering everything block by block while restarting wamp at every step, I figured it was not a typo on my behalf because apache is unable to restart on this line: SSLPassPhraseDialog builtin and every line there after all the while commenting and un-commenting each line and attempting to start apache service.

    Windows 7 64bit and 32bit.

    • starchild says:

      I’m posting the blocks of code I commented out that makes apache start. (The funny part is httpd-ssl.conf is identical to my old httpd-ssl.conf from wamp 2.0 on windows 7 of my broken laptop.)

      #########SSLPassPhraseDialog builtin

      #########SSLSessionCache “shmcb:C:/wamp/bin/apache/Apache2.2.22/conf/ssl/logs/ssl_scache(512000)”
      ###########SSLSessionCacheTimeout 300

      #########SSLMutex default

      #########SSLEngine on

      #########SSLProtocol all -SSLv2

      ##########SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5

      #########SSLCertificateFile “C:/wamp/bin/apache/apache2.2.22/conf/ssl/TEEWEEZY.crt”

      #########SSLCertificateKeyFile “C:/wamp/bin/apache/apache2.2.22/conf/ssl/TEEWEEZY.key”

      #########SSLOptions +StdEnvVars

      #########SSLOptions +StdEnvVars
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      allow from all

      #########CustomLog “C:/wamp/logs/ssl_request.log” \ “%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \”%r\” %b”

  5. Lyubo says:

    Great tutorial but 53 steps…? No way.

    • BN says:

      And people still have hard time and run into issue :( Not sure how we can create a lot more steps to make it more clear to help people out ;)

  6. mith says:

    I am running a wampserver on my laptop. I do not have a domain name. I am able to successfuly do the steps you mentioned for https://localhost meaning that I get the red font success message. However, I also tried the same steps by putting my IP_address in place of JLBN. But if i try https://IP_address, it says connection refused.
    Any idea?

  7. Madhur says:

    I follow all the steps. But when i reached the steps where it says click on Apache Modules to enable the ssl_module. I follow it and on the next step it says to enale php_openssl. It propt me with the message.

    “Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started”

    And also i am seeing the orange tray color.

    I tried it several times but no conclusion.

    • Karl says:

      Hello -
      I have a fresh installed WAMP server on Windows7.
      I followed the super step by step explanation – and got the same error as described in this comment
      trying to activate php extension openssl does not work. The Wamp Server Tray Icon stays orange – not green.
      I can not go back and remove apache ssl Module. I do get the same error than
      Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started”

      Any idea?

  8. canary says:

    This is the first tutorial that was not completely riddled with errors, and I’ve been doing some digging for this. However, there is one point, that you have you to make sure to put your webserver online, otherwise the page will not be found.

    Other than that, after 2 other tutorials failed, this is the one that was finally successful. Thanks a bunch for the really easy step-by-step instructions!

  9. Aloysius says:

    Sir I have 2 issues one is that i don’t know what i did and got this error message in this version of Wamp server2.e-php5.4.3-ht… please sir help and guide me to correct it.

  10. Aloysius says:

    Sir I have 2 issues one is that i don’t know what i did and got this error message in this version of Wampserver2.e-php5.4.3-ht… please sir help and guide me to correct it.

    Secondly i have this other version of wampserver2-APACHE2213 each time i want to install it, the error message i gets is that the file is corrupted i should obtain another one OK.

    • JL says:

      Aloysius, you can NOT run two servers in one machine, so that’s why you keeps getting errors

  11. Aloysius says:

    Sir in the first issue i made a mistake in my explanation here is the error message i get

    Warning: Creating default object from empty value in C:\wamp\www\agriculture\wordpress\wp-includes\user.php on line 657
    Call Stack

    • JL says:

      Aloysius, it’s hard to troubleshoot if we can’t see that script so point us to the location or link that we can download that script and we will test it out for you :)

  12. saphira says:

    at step 35 can the server name be left as localhost??

    • JL says:

      saphira, the answer is yes but then when you run it, you might not know which one you’re actually running on

  13. Vinoth M says:

    Hi,

    Thank you very much!!! This is working fine for me. Your

  14. website says:

    Have you ever considered writing an e-book or guest authoring on other sites?
    I have a blog based upon on the same ideas you discuss and would love
    to have yyou share some stories/information. I know my viewers would appreciate your work.
    If you’re even remotely interested, feel
    free to shoot me an email.

  15. ruben says:

    Hi from Spain. First sorry for my english.
    I had the same problem. The wamp server didn’t work after following all the steps. Then I execute ‘httpd -t’ from prompt ‘c:\wamp\bin\apache\apache2.x.x\bin’ This check the sintax. I saw the problem, the module for shmcb wasn’t load.

    Then removing the # symbol in line ‘LoadModule socache_shmcb_module modules/mod_socache_shmcb.so’ -> httpd.conf, the wamp server started correctly.

    Thanks for this great tutorial.

    • Naga says:

      Thanks a lot for your reply. actually your reply taught how to debug webserver restart issues rather solving each problem bu googling.

      httpd – t : i dont know this before.

      thanks a lot. I have got few errors even after following all the steps as above. but with httpd -t i am able to resolve any issue as i know whats the problem is rather getting lost in forums.

      Cheers mate
      Naga

  16. Maya says:

    Thank you so much!!!
    it is the best step by step guide for this activity. there were so many errors in other guides.
    Again… thank you

  17. Karl says:

    Hello -
    I have a fresh installed WAMP server on Windows7.(Apache 2.4.4)
    I followed the super step by step explanation – and got the same error as described ealier (Dec2012)
    When trying to activate php extension openssl this does not work.
    Error description:
    Aestan Tray Menu
    “Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started”

    After restarting the Wamp Server, the Tray Icon stays orange– not green.

    I can not go back and remove apache ssl Module via the menu, nor can I go offline.
    I do get the same error
    I switched off apache SSL modul in the httpd.confon file. Still I do get the same behavior – orange tray Icon, can not activate any apache modules , php extensions, nor make wamp offline.
    the error message is as described above.

    Any idea?
    By the way – the procedure does not enable to listen to port 443 – isn’t this neccessary?

  18. Karl says:

    Just a correction of my e-mail address

  19. Karl says:

    I just realized what the problem is.
    I had a newer ssleay32.dll in Windows/System32
    So I used this one instead of the one I copied over from WAMP.
    I rebooted and this activated IIS.
    So WAMP was not able to get online !!!.

    So I stopped IIS, restarted WAMP
    enabled php_openssl and
    tested
    https://localhost/index.html
    (added security exception) and
    https://my_IP_address/index.html
    (added security exception)
    Message says:
    “test SSL successful”
    Many thanks

  20. Jeux says:

    Thank you for the good writes up.

You must be logged in to post a comment.

  • Get Chitika Premium
  • JLBN - Place Your Banner Here
  • JLBN - Place Your Banner Here