Announcement

Collapse
No announcement yet.

Enabling SSL on an existing site

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Enabling SSL on an existing site

    Hi All,

    I am trying to enable SSL for a site that has been up for years

    But there seems to be a permissions error.

    Once I have uploaded it and then test the site - when the user is bounced into the ssl section the following error occurs

    A General Script Error Occurred

    --------------------------------------------------------------------------------
    Error: Error opening ../acatalog/217Z36Z209Z172A1345559661B17712.session (Permission denied)
    --------------------------------------------------------------------------------
    Press the Browser back button and try again or contact the site owner

    I have checked and the cgi-bin and the acatalog folder are both at 0755

    What could be the issue?

    Cheers

    Grant

    #2
    Do the network tests pass?

    Comment


      #3
      Originally posted by Duncan Rounding View Post
      Do the network tests pass?
      Sort of

      ************
      During the test I get the following error

      "The website directory is not writable.
      Unable to create a file in the website directory.
      Permission denied

      Unable to create a sub-directory in the web site directory.
      Permission denied"
      ******************

      But then it tells me that the network test was successful.

      Comment


        #4
        The test must pass before you can successfully upload.

        Are you setting up SSL on the whole site or just the checkout?

        Can you access your site now via https://www.mydomain.co.uk for example?

        Post your network settingswithout usernames and passwords and let's see if we can spot something wrong.

        Comment


          #5
          Hi Duncan,

          I am after setting it up such that only the Checkout, Login and Account details are SSL

          http://www.thesite.com/acatalog works without issue
          https://www.thesite.com/acatalog works without issue

          It is only when we head into the Checkout etc that we get the error. Something to do with the permissions denied in the cgi-bin folder??

          Network settings below

          HTTPPROXYMODE 0
          HTTPPROXYADDRESS
          HTTPPROXYPORT 80
          HTTPPROXYUSER
          HTTPPROXYPASSWORD
          FTPPROXYMODE 0
          FTPPROXYADDRESS
          FTPPROXYPORT 21
          FTPPROXYUSER
          FTPPROXYPASSWORD
          SCRIPTID 2
          SCRIPTEXT .pl
          SMTPHOST smtp.thesite.net
          WEBSITEURL http://www.thesite.co.uk
          IGNOREPASSIVEERRORS true
          USERELATIVECGIURLS false
          PATHTOPERL /usr/bin/perl
          USEENHANCEFTP true
          FTPCLIENTTIMEOUT 30000
          FTPRETRYDELAY 3000
          FTPKEEPALIVEINTERVAL 30000
          FTPSILENT true
          FTPMAXRETRIES 3
          FTPCONNECTTIMEOUT 50000
          SMTPAUTHREQUIRED true
          SMTPUSERNAME thesite-send
          SMTPPASSWORD **********
          COMPRESSIONPACKETSIZE 1024
          COMPRESSEDUPLOAD true
          SSLCATALOGURL https://www.thesite.co.uk/acatalog/
          SSLCGIBINURL https://www.thesite.co.uk/cgi-bin/
          SSLPATHFROMCGITOCATALOG ../acatalog/
          SSLFTPHOST ftp.thesitel.com
          SSLFTPUSERNAME thesite
          SSLFTPPASSWORD **********
          SSLPATHTOCGIBIN www/cgi-bin/
          SSLUSEPASSIVEFTP true
          CATALOGURL http://www.thesite.co.uk/acatalog/
          ONLINESTOREFOLDERNAME acatalog
          CGIBINURL http://www.thesite.co.uk/cgi-bin/
          PATHFROMCGITOCATALOG ../acatalog/
          FTPHOST ftp.thesite.com
          FTPUSERNAME thesite
          FTPPASSWORD **********
          PATHTOCGIBIN www/cgi-bin/
          USEPASSIVEFTP true
          FTPPATHFROMCGITOCATALOG

          Comment


            #6
            I have been in comms with the server people and they say that they dont think it is a permissions issue between the nonSSL and the SSL as the files are all owned by the account.

            They are a bit confused on why the session files are set to 0200 - no read access.

            This must be something that is relatively straightforward to set up, I dont really understand why this is proving so difficult....

            Cheers

            Comment


              #7
              These don't look right to me but it could be how your hosts (which is what btw?) operate:

              SSLPATHTOCGIBIN www/cgi-bin/
              PATHTOCGIBIN www/cgi-bin/

              At the very least I'd have thought they needed a leading /
              Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

              Comment


                #8
                Hmmm - reading up in other threads it suggests changing the Permissions for the acatalog folder to 0777

                I have done this and now get no errors on the Network Setup test.

                Will try an upload and see what happens.....

                Comment


                  #9
                  Originally posted by guccij View Post
                  These don't look right to me but it could be how your hosts (which is what btw?) operate:

                  SSLPATHTOCGIBIN www/cgi-bin/
                  PATHTOCGIBIN www/cgi-bin/

                  At the very least I'd have thought they needed a leading /
                  Hi Guccij

                  The host is Memset.com

                  Hmm - We have had www/cgi-bin/ as the path to CGI-BIN for years with this site without issue.

                  Shall I try add a / in front of the path in the SSL settings and see what the test says ?

                  Comment


                    #10
                    The Network settings test returns as successful with or without the preceding / on the Path to CGI-BIN .....

                    Comment


                      #11
                      Is there a sub domain thing going on here? Is your SSL certificate on the same server?

                      Then have a read of this thread (and weep):

                      http://community.sellerdeck.com/showthread.php?t=45612
                      Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

                      Comment


                        #12
                        Originally posted by guccij View Post
                        Is there a sub domain thing going on here? Is your SSL certificate on the same server?

                        Then have a read of this thread (and weep):

                        http://community.sellerdeck.com/showthread.php?t=45612
                        Hmm - no sub domain thing going on - have yet to try an upload following the returning of no errors at all on the network test.

                        Will let you know the outcome once I try this.

                        Comment

                        Working...
                        X