Setting up a secure server; getting a weird error message when using https://

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gregerly
    Recognized Expert New Member
    • Sep 2006
    • 192

    Setting up a secure server; getting a weird error message when using https://

    Hello all,

    I appologize if this is the wrong place for this post. Not sure where else it would go. I am building a shopping cart with PHP. I know that on a page where you would collect the user information it should be an https:// rather than http. What do I need to do in order to get an https instead of http? When I code the page to go to https://www.mydomain.co m/somepage.php I get a strange error code pop up. The error message is: 66.7.xxx.xxx has sent an incorrect or unexpected message. Error Code: -12263

    Has anyone worked with secure http? What am I doing wrong? Thanks in advance!

    Greg
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Changed thread title to better describe the problem (did you know that threads whose titles contain three words or less actually get FEWER responses?).

    Heya, Greg.

    Setting up a secure server is a pretty involved task, but it can be done.

    Are you using a professionally-hosted server, or are you trying to set up a test server on your own network?

    What operating system / server software is your server using?

    Comment

    • gregerly
      Recognized Expert New Member
      • Sep 2006
      • 192

      #3
      Thanks for the heads up with the subject. I'm hosting with a prof. hosting company, Hostdime. It is my understanding that all I need to do is install a SSL (that hostdime provides) in the root of my site. Then I can use https instead of http? Does this sound accurate? I'm assuming that I'm getting the wierd error because I don't have an SSL installed.

      Thanks again for the help.

      Greg

      Comment

      • kovik
        Recognized Expert Top Contributor
        • Jun 2007
        • 1044

        #4
        Yes, you can't just type https and suddenly have a secure connection. You'll need SSL.

        Comment

        • pbmods
          Recognized Expert Expert
          • Apr 2007
          • 5821

          #5
          Heya, Greg.

          Ok. You need an SSL certificate.

          Check out this article. You may want to stay in contact with your hosting provider through this process (for example, the Common Name of your certificate must match your server name).

          Comment

          • gregerly
            Recognized Expert New Member
            • Sep 2006
            • 192

            #6
            Thanks so much for your help. Looking forward to getting this working!

            Thanks again,

            Greg

            Comment

            • pbmods
              Recognized Expert Expert
              • Apr 2007
              • 5821

              #7
              Heya, Greg.

              Good luck with your project, and if you ever need anything, post back anytime :)

              Comment

              Working...