Setting up HTTPS on WAMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rodeoval
    New Member
    • May 2007
    • 15

    Setting up HTTPS on WAMP

    Hey,
    Can u pls tell me how to impliment https in WAMP? Nyone knows please reply asap..It's urgent..Thnx n advance
  • nathj
    Recognized Expert Contributor
    • May 2007
    • 937

    #2
    Originally posted by rodeoval
    Hey,
    Can u pls tell me how to impliment https in WAMP? Nyone knows please reply asap..It's urgent..Thnx n advance
    Hi rodeoval

    I've done a little bit of digging on this topic myself recently. I'm no expert mind, but as far as I can tell https refers to the fact that you are using SSL on yor site to secure data transmission. This requires a SSL certificate from someone like VeriSign, GeoTrust, Comodo, or similar.

    The certificate is loaded into the root of your website (I thikn someone correct me if I'm wrong) and then the ability to use https is availale to you. I believe you have to set a link or association between the certificate and the pages on your site you want to secure.

    That's all I know about but a certificate provider would provide you with support for implementation.

    Cheers
    nathj
    PS if anyone knows better and I''m talking a load of old tosh please correct me.

    Comment

    • gregerly
      Recognized Expert New Member
      • Sep 2006
      • 192

      #3
      Originally posted by nathj
      Hi rodeoval

      I've done a little bit of digging on this topic myself recently. I'm no expert mind, but as far as I can tell https refers to the fact that you are using SSL on yor site to secure data transmission. This requires a SSL certificate from someone like VeriSign, GeoTrust, Comodo, or similar.

      The certificate is loaded into the root of your website (I thikn someone correct me if I'm wrong) and then the ability to use https is availale to you. I believe you have to set a link or association between the certificate and the pages on your site you want to secure.

      That's all I know about but a certificate provider would provide you with support for implementation.

      Cheers
      nathj
      PS if anyone knows better and I''m talking a load of old tosh please correct me.
      I recently set up SSL on my website. I had the hosting company do it though, so I didn't have to actually set up the SSL. They installed the SSL in the root of the site, and you then have the ability to use https:// rather than http:// thru out the site, where ever you want to encrypt the data transfers.

      Greg

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #4
        Heya, rodeoval.

        Are you trying to set up an SSL server?

        Or do you need to create an HTTP stream context to access a file on a secure server?

        Comment

        • rodeoval
          New Member
          • May 2007
          • 15

          #5
          Originally posted by pbmods
          Heya, rodeoval.

          Are you trying to set up an SSL server?

          Or do you need to create an HTTP stream context to access a file on a secure server?
          I m doing a web system related to marks.Since they need security I was asked to use https.Since I am a newbie I have no idea of doing it.So cn u please tell me what are the steps I should follow?
          In the php.ini file php_openssl.dll is commented.And also in the sub folder openssl which is inside the php folder (in the WAMP folder), there is a speeddial file called openssl(I don't have any idea what that is).So can u please tell me what Iare the steps I should follofw???

          Comment

          • pbmods
            Recognized Expert Expert
            • Apr 2007
            • 5821

            #6
            Heya, Rodeoval.

            Have a look at this article.

            Comment

            • rodeoval
              New Member
              • May 2007
              • 15

              #7
              Originally posted by pbmods
              Heya, Rodeoval.

              Have a look at this article.
              Hi!! First of all Thnx..
              I followed what it said.But when creating the private key I get an error as
              Error opening private key
              system library:fopen:N o such file or Directory:.cryp to/bio/bss file.........

              Can anyone pls tell me what that is?

              Comment

              • erp23
                New Member
                • Aug 2007
                • 26

                #8
                note sure whether this is what you are after, but [PHP]<?php
                if($_SERVER["HTTPS"] != "on") {
                $newpage = "https://" . $_SERVER["SERVER_NAM E"] . $_SERVER["REQUEST_UR I"];
                header("Locatio n: $newpage");
                exit();}
                ?>[/PHP] assuming ssl is already running on your server, you can force ssl on a page with the following code:

                Comment

                • rodeoval
                  New Member
                  • May 2007
                  • 15

                  #9
                  Originally posted by erp23
                  note sure whether this is what you are after, but [PHP]<?php
                  if($_SERVER["HTTPS"] != "on") {
                  $newpage = "https://" . $_SERVER["SERVER_NAM E"] . $_SERVER["REQUEST_UR I"];
                  header("Locatio n: $newpage");
                  exit();}
                  ?>[/PHP] assuming ssl is already running on your server, you can force ssl on a page with the following code:
                  No..I get the problem when creating the private key and the certification(i .e when configuring the server to run ssl)nyone knows, please reply..Its a really urgent matter

                  Comment

                  • pbmods
                    Recognized Expert Expert
                    • Apr 2007
                    • 5821

                    #10
                    I'm going to go ahead and move this thread to the Apache forum, where our resident Experts will be better able to help you out.

                    [EDIT: Oops. I put you in IIS by mistake. I contacted an IIS moderator, and we'll get you moved back to the Apache forum ASAP.]

                    Comment

                    • prometheuzz
                      Recognized Expert New Member
                      • Apr 2007
                      • 197

                      #11
                      Originally posted by pbmods
                      ...

                      [EDIT: Oops. I put you in IIS by mistake. I contacted an IIS moderator, and we'll get you moved back to the Apache forum ASAP.]
                      There you go!
                      ..........

                      Comment

                      Working...