Announcement

Collapse
No announcement yet.

Error setting up SSL

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

    Error setting up SSL

    Hi all.

    I have been trying to setup and upload our site using SSL in preparation for using World Pay. www.peppercorncottage.com

    Our site has been working fine prior to making the SSL changes today, however I have an error message while testing the network settings.

    Our network settings including the SSL are below:

    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .pl
    SMTPHOST localhost
    WEBSITEURL http://www.peppercorncottage.com
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS true
    PATHTOPERL /usr/bin/perl
    USEENHANCEFTP true
    FTPCLIENTTIMEOUT 15000
    FTPRETRYDELAY 3000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 25000
    SMTPAUTHREQUIRED false
    SMTPUSERNAME
    SMTPPASSWORD
    SSLCATALOGURL https://www.peppercorncottage.com/acatalog/
    SSLCGIBINURL https://www.peppercorncottage.com/cgi-bin/
    SSLPATHFROMCGITOCATALOG ../cgi-bin/acatalog/
    SSLCODEBASE ./
    SSLFTPHOST ftp2.myserverworld.net
    SSLFTPUSERNAME peppercorn@peppercorncottage.com
    SSLFTPPASSWORD #########
    SSLPATHTOCGIBIN /cgi-bin/
    SSLUSEPASSIVEFTP true
    CATALOGURL http://www.peppercorncottage.com/acatalog/
    CGIBINURL http://www.peppercorncottage.com/cgi-bin/
    PATHFROMCGITOCATALOG ../public_html/acatalog/
    CODEBASE ./
    FTPHOST ftp2.myserverworld.net
    FTPUSERNAME peppercorn@peppercorncottage.com
    FTPPASSWORD ###########
    PATHTOCGIBIN cgi-bin/
    USEPASSIVEFTP true
    FTPPATHFROMCGITOCATALOG ../public_html/acatalog/


    The error message I receive is the following:

    The test script failed to execute on the web server. The error could be caused by several things. Check the path to the Perl shell, the CGI script extension, the path to CGI-BIN, and the CGI-BIN URL. This error could also occur if your web site is out of disk space or your web server is not configured to accept POSTs to CGI scripts.
    Can anyone let me know if my SSL settings are incorrect?

    thanks
    Kev
    Kev Challis
    www.procutvinyl.co.uk

    #2
    Sorry Kev, but they look all wrong to me.

    You need to get your non-SSL network settings working properly first before trying to get SSL to work and these are still wrong.

    We've been over this before, but if you want to get it working:

    1. Turn off SSL for the moment.

    2. Check your server directory structure and post the info here. i.e.

    - is there an http_docs folder?
    - are both the cgi-bin and acatalog folders in the http_docs folder?

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      The network settings without the SSL are correct. They were put right with the help of people here.

      I have turned off the SSL and re-loaded the site as before which works fine using Paypal to checkout with.

      Server structure is:

      Server -

      cgi-bin
      log files
      public_html - acatalog

      There is no http_docs folder.

      Kev
      Kev Challis
      www.procutvinyl.co.uk

      Comment


        #4
        Sorry Kev, I meant Public_html rather than http_docs.

        The trouble is, if your network settings are correct, then why is your cart page looking for images in the cgi-bin?

        was that working correctly before you turned on SSL?

        Mike
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment


          #5
          Hi...

          These are the network settings without the SSL.

          HTTPPROXYMODE 0
          HTTPPROXYADDRESS
          HTTPPROXYPORT 80
          HTTPPROXYUSER
          HTTPPROXYPASSWORD
          FTPPROXYMODE 0
          FTPPROXYADDRESS
          FTPPROXYPORT 21
          FTPPROXYUSER
          FTPPROXYPASSWORD
          SCRIPTID 1
          SCRIPTEXT .pl
          SMTPHOST localhost
          WEBSITEURL http://www.peppercorncottage.com
          IGNOREPASSIVEERRORS true
          USERELATIVECGIURLS true
          PATHTOPERL /usr/bin/perl
          USEENHANCEFTP true
          FTPCLIENTTIMEOUT 15000
          FTPRETRYDELAY 3000
          FTPSILENT false
          FTPMAXRETRIES 3
          FTPCONNECTTIMEOUT 25000
          SMTPAUTHREQUIRED false
          SMTPUSERNAME
          SMTPPASSWORD
          CATALOGURL http://www.peppercorncottage.com/acatalog/
          CGIBINURL http://www.peppercorncottage.com/cgi-bin/
          PATHFROMCGITOCATALOG ../public_html/acatalog/
          CODEBASE ./
          FTPHOST ftp2.myserverworld.net
          FTPUSERNAME peppercorn@peppercorncottage.com
          FTPPASSWORD ##########
          PATHTOCGIBIN cgi-bin/
          USEPASSIVEFTP true
          FTPPATHFROMCGITOCATALOG ../public_html/acatalog/

          These settings pass the network test.

          Sorry to be a pain, how do you know the cart page is looking for images in the cgi-bin?

          When I turn on the SSL I get the error message in my first post, any idea as to why with what seems to be the correct network settings?

          Before turning on the SSL I think the site has been functioning fine.

          thanks
          Kev
          Kev Challis
          www.procutvinyl.co.uk

          Comment


            #6
            I have been trying to setup and upload our site using SSL in preparation for using World Pay.
            Have you asked your host to install an SSL cert for you, as you don't actually need one to use Worldpay as your PSP?

            if i type http://www.peppercorncottage.com/ into a browswer i see the site, however if i type in https://www.peppercorncottage.com/ i get 404

            Comment


              #7
              OK. I think I might have found the problem which could be why I've never got Kev's website to work for me.

              Looking at the cart (and other cgi-bin pages) I see this at the top of the page:

              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
              <html>
              <head>
              <a href="http://www.peppercorncottage.com/acatalog/sitemap.html">Site Map</a>
              <title></title>
              <BASE HREF="http://www.peppercorncottage.com/acatalog/">
              Obviously the sitemap link shouldn't be there in the header and that breaks IE7 for me. Leaving it in means it looks as if IE7 doesn't see the basehref, deleting it means the page shows OK.

              So Kev, if you can find where thats coming from and delete it then we should be able to get your site working with one simple change to the SSL settings (hopefully).

              SSLPATHFROMCGITOCATALOG ../cgi-bin/acatalog/

              should probably be:

              SSLPATHFROMCGITOCATALOG ../public_html/acatalog/

              Mike
              -----------------------------------------

              First Tackle - Fly Fishing and Game Angling

              -----------------------------------------

              Comment


                #8
                Kev, you need to delete your ftp-password.

                Mike
                -----------------------------------------

                First Tackle - Fly Fishing and Game Angling

                -----------------------------------------

                Comment


                  #9
                  great thanks

                  I have taken out the sitemap link

                  Just making the changes to the SSL settings and fingers crossed it uploads ok.

                  I'll post back once it's uploaded again.

                  edit: done, grr I keep forgetting that........thanks

                  Kev
                  Kev Challis
                  www.procutvinyl.co.uk

                  Comment


                    #10
                    HTTPPROXYMODE 0
                    HTTPPROXYADDRESS
                    HTTPPROXYPORT 80
                    HTTPPROXYUSER
                    HTTPPROXYPASSWORD
                    FTPPROXYMODE 0
                    FTPPROXYADDRESS
                    FTPPROXYPORT 21
                    FTPPROXYUSER
                    FTPPROXYPASSWORD
                    SCRIPTID 1
                    SCRIPTEXT .pl
                    SMTPHOST localhost
                    WEBSITEURL http://www.peppercorncottage.com
                    IGNOREPASSIVEERRORS true
                    USERELATIVECGIURLS true
                    PATHTOPERL /usr/bin/perl
                    USEENHANCEFTP true
                    FTPCLIENTTIMEOUT 15000
                    FTPRETRYDELAY 3000
                    FTPSILENT false
                    FTPMAXRETRIES 3
                    FTPCONNECTTIMEOUT 25000
                    SMTPAUTHREQUIRED false
                    SMTPUSERNAME
                    SMTPPASSWORD
                    SSLCATALOGURL https://www.peppercorncottage.com/acatalog/
                    SSLCGIBINURL https://www.peppercorncottage.com/cgi-bin/
                    SSLPATHFROMCGITOCATALOG ../public_html/acatalog/
                    SSLCODEBASE ./
                    SSLFTPHOST ftp2.myserverworld.net
                    SSLFTPUSERNAME peppercorn@peppercorncottage.com
                    SSLFTPPASSWORD ##########
                    SSLPATHTOCGIBIN /cgi-bin/
                    SSLUSEPASSIVEFTP true
                    CATALOGURL http://www.peppercorncottage.com/acatalog/
                    CGIBINURL http://www.peppercorncottage.com/cgi-bin/
                    PATHFROMCGITOCATALOG ../public_html/acatalog/
                    CODEBASE ./
                    FTPHOST ftp2.myserverworld.net
                    FTPUSERNAME peppercorn@peppercorncottage.com
                    FTPPASSWORD #########
                    PATHTOCGIBIN cgi-bin/
                    USEPASSIVEFTP true
                    FTPPATHFROMCGITOCATALOG ../public_html/acatalog/

                    Ok, these are the current settings, I get the same error message as before.

                    Kev
                    Kev Challis
                    www.procutvinyl.co.uk

                    Comment


                      #11
                      Yeay! The cart works for me.

                      Now I know why I was having so much trouble figuring out the settings before. Without the basehref the cart and checkout pages were looking in the cgi-bin for all the images and css, hence completely broken.

                      Now all we need to do is finalise the SSL.

                      Mike
                      -----------------------------------------

                      First Tackle - Fly Fishing and Game Angling

                      -----------------------------------------

                      Comment


                        #12
                        Which brings us back to Jo's question about SSL. have you had an SSL certificate installed because there's no sign of one? And which domain do you plan to use peppercorncottage or sqaureonebistro as it will only work on one of them.

                        Mike
                        -----------------------------------------

                        First Tackle - Fly Fishing and Game Angling

                        -----------------------------------------

                        Comment


                          #13
                          Yep, cart now fully functional

                          That's quite odd actually as the sitemap link was there for quite a while and the site was taking orders with it in place, however the orders must have come through using platforms other then IE7. i.e worked in firefox.

                          Hopefully get the SSL sorted now.

                          What would I do without this place and all your help / advice

                          thanks
                          Kev
                          Kev Challis
                          www.procutvinyl.co.uk

                          Comment


                            #14
                            Originally posted by olderscot
                            Which brings us back to Jo's question about SSL. have you had an SSL certificate installed because there's no sign of one? And which domain do you plan to use peppercorncottage or sqaureonebistro as it will only work on one of them.

                            Mike
                            ahh...... no I haven't lol now I feel a complete idiot. Does anyone have any recommendations, just reading up on Verisign?

                            domain names were unsure which to use at the moment, probably sticking with peppercorncottage.com as we have built a customer base with this domain for many years now.

                            thanks
                            Kev
                            Kev Challis
                            www.procutvinyl.co.uk

                            Comment


                              #15
                              ahh...... no I haven't lol now I feel a complete idiot. Does anyone have any recommendations, just reading up on Verisign?
                              2 things

                              1 you don't need an SSL cert if you use worldpay
                              2 you may be restricted by your host as to which cert you can install - as hosts tend to have an acct with one provider only.

                              Ask your host first....

                              Comment

                              Working...
                              X