Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to install SSL on OSC: A Simple 1-2-3 Instruction


jpweber

Recommended Posts

Guys,

please forgive me my ignorance on this subject. I read thru the entire post and it seems to be straightforward. Although I can find my way in webdesign, I am new to the world of E-commerce and more in particular to this topic of payment modules. The shop (that I am developing for someone) is approaching it's final stage, but I am not sure what to do about those certificates everyone is talking about. The shop is located in Belgium and the shopowner would like to allow payments solely thru paypal and mastercard/visa. I believe having read that he has to request an account with paypal to be able to activate the module. But then how are we to proceed with companies like visa and mastercard.

I also found on the paypal site they are processing payments via amex, visa etc thru their own site. Has anyone experience with this?

 

Again, this entire topic is quite new to me and I would like to get it right from the start, so any help/further explanation on how to proceed is more than welcome.

 

Tnx

Link to comment
Share on other sites

  • 1 month later...
  • Replies 485
  • Created
  • Last Reply
The shop is located in Belgium and the shopowner would like to allow payments solely thru paypal and mastercard/visa. I believe having read that he has to request an account with paypal to be able to activate the module. But then how are we to proceed with companies like visa and mastercard.

I also found on the paypal site they are processing payments via amex, visa etc thru their own site. Has anyone experience with this?

 

Again, this entire topic is quite new to me and I would like to get it right from the start, so any help/further explanation on how to proceed is more than welcome.

 

Tnx

 

You'll need SSL to still protect customers when they fill out *any* information that is to be sent through the internet. It also gives customers a sense of security when they see that padlock in your browser, and perhaps a certificate seal on your website.

 

Regarding payment, you're referring to PayPal Website Payments pro, and although I'm not a big fan of Ebay/PayPal, many people use it because of the fact that there are no upfront fees, and yes, they accept CC payments after installing that module.

 

But you'll still need to get a Secure Socket Layer (SSL) for your website, and you can get reliable ones for as little as $15 USD.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

  • 2 weeks later...

Hi Jason, I've been reading your thread on ssl in trying to resolve my issues. I've seen how helpfull you've been, perhaps you could see from a quick look why my flash header or backround images aren't showing when ssl pages are viewed in Explorer.

I've changed all the http links to https in header file and tryed all the methods detailed by you here (as far as i know).

My site is www.weaponsdrop.com/catalog

 

catalog/includes configure.php:

define('HTTP_SERVER', 'http://www.weaponsdrop.com'); // eg, http://localhost - ...

define('HTTPS_SERVER', 'https://www.weaponsdrop.com'); // eg, https://localhost ....

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.weaponsdrop.com');

define('HTTPS_COOKIE_DOMAIN', '.weaponsdrop.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

 

admin/includes configure.php:

define('HTTP_SERVER', 'https://www.weaponsdrop.com'); // eg, http://localhost - ...

define('HTTP_CATALOG_SERVER', 'https://www.weaponsdrop.com/catalog');

define('HTTPS_CATALOG_SERVER', 'https://www.weaponsdrop.com/catalog');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

Let me know what you think as this has me prety stumped.

Thanks in advance Chris

Link to comment
Share on other sites

  • 3 weeks later...

Hi ... great thread! I actually am not sure if this is a configuration question or not. Our shop is set up fine but there is one lingering bug in IE6 only that won't go away. It's on the login.php.

 

After a customer signs in (successfully) there is a warning from IE that says "Security Alert: You are about to be redirected to a connection that is not secure blah....."

 

Very alarming to customers! I don't get this in IE7, Firefox or Safari.

 

The redirect is set up to take you to your shopping cart page (not HTTPS) or to your account page if there is nothing in your cart (HTTP). Is that the link is expecting SSL for some reason?

Link to comment
Share on other sites

Hi,

 

I'm a little behind the curve here - I'm trying to decide which SSL provider to use. Mmy host (Siteground) offers a few options and I'm thinking of using the cheapest one http://www.siteground.com/order_ssl_standard.htm. Will this offer everything I need? I don't want to spend more than I have to, but I also don't want to order something that's not sufficient.

Link to comment
Share on other sites

  • 2 weeks later...
This is as simple as it gets -- how to install SSL, which is a mandate on every e-commerce site, easily and effectively on OSC:

 

(1) Inform your host. Tell your host you're going to install SSL through another company. They shouldn't charge you, but they might ... 10 bucks or whatever. They'll e-mail you a CSR (certificate signing request), which is really just a big clump of mumble-jumbled coding.

 

(2) Find an SSL Company. A popular one seems to be the RapidSSL by Geotrust, 'cause it's cheap, but there are plenty. Many people use Geotrust, Verisign, Networksolutions, GoDaddy, and others. A Simple Google Search can give you plenty of other options. Make sure it has at least 128-bit data encryption, and is compatible with all browsers. Make sure it has a trusted root. Make sure it puts a padlock in your browser. These are all questions you'll ask the SSL company.

 

(3) Purchase the SSL. E-mail the SSL company your CSR that your host gave to you. Be sure that both your host and the SSL company are on the same page -- assign your SSL to either http://www.yoursite.com, or http://yoursite.com -- but make sure the host and the SSL company are on the same page, and both do the same thing.

 

(4) Go back to your host. You'll receive an SSL Certificate Key from the SSL company once purchased. This will be more mumble-jumbled coding in your e-mail. E-mail the SSL Certificate Key back to your host. They'll install it for you.

 

(5) Alter your config files. All you need to do now is to alter your configure.php files. They're located in (path to catalog)/includes/configure.php, and (path to catalog)/admin/includes/configure.php. OSC is designed to protect the pages that require data encryption, and altering your config files will do this for you. These pages include login, create_account, checkout, etc,. and any other pages that require data-input by the end-user.

 

(6) In includes/configure.php, set the SSL to "true"; it should look something like this near the top, if you assigned the SSL to www.yoursite.com:

define('HTTP_SERVER', 'http://www.yoursite.com');

define('HTTPS_SERVER', 'https://www.yoursite.com');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.yoursite.com');

define('HTTPS_COOKIE_DOMAIN', '.yoursite.com');

 

(7) In admin/includes/configure.php, set the SSL to "true" and add an "s" after all the http's. So it'll look something like this, if assigned to www.yoursite.com:

define('HTTP_SERVER', 'https://www.yoursite.com/');

define('HTTP_CATALOG_SERVER', 'https://www.yoursite.com/');

define('HTTPS_CATALOG_SERVER', 'https://www.yoursite.com/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

(8) Save and upload your configure.php files to their appropriate directories, perhaps using your FTP tool, or other upload tool of choice, and your SSL should be running smoothly and efficiently.

 

 

Hi

Tried it many times but come to log in I get a certificate error https://gold-world-travel.com/auto/login.php

Been working on it for 9 days now trying to get it to work. Same results as Zen cart.

Tried changing perrmissions with 02 and Zen cart this did not work.

Reinstalled 02 and zen cart several times now. I want this to work, With out the ssl its works great, I just do not know what I am doing wrong

to config.Using Msn 2003 frontpage, web design, and CR3 using vendio hosting. geo trust and its taking much of my time.

Was hopping to install for xmas sales but looks more likley to be in jan 2008.

Please e-mail if any help would be great

JohnC F1jc limited [email protected] Or send a message here in this forum.

Link to comment
Share on other sites

First of all thank you for all the helpful people here. I manage to get my SSL going. But after days of figuring it out to work, I found out that I'm unable to access my admin. I get this error Bad Request (Invalid Hostname). Any ideas?

 

admin/include/configure.php

 

define('HTTP_SERVER', 'https://mysite.com/');

define('HTTP_CATALOG_SERVER', 'https://mysite.com/');

define('HTTPS_CATALOG_SERVER', 'https://mysite.c6.ixwebhosting.com/');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', 'D:/hshome/mysite/mysite.com/');

define('DIR_WS_ADMIN', 'admin/');

define('DIR_FS_ADMIN', 'D:/hshome/mysite/mysite.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', 'D:/hshome/mysite/mysite.com/');

 

configure.php

define('HTTP_SERVER', 'http://mysite.com');

define('HTTPS_SERVER', 'https://mysite.c6.ixwebhosting.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.mysite.com');

define('HTTPS_COOKIE_DOMAIN', 'mysite.c6.ixwebhosting.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

I have my admin folder protected. Is this the cause? Thanks in advance.

Link to comment
Share on other sites

First of all thank you for all the helpful people here. I manage to get my SSL going. But after days of figuring it out to work, I found out that I'm unable to access my admin. I get this error Bad Request (Invalid Hostname). Any ideas?

 

admin/include/configure.php

 

define('HTTP_SERVER', 'https://mysite.com/');

define('HTTP_CATALOG_SERVER', 'https://mysite.com/');

define('HTTPS_CATALOG_SERVER', 'https://mysite.c6.ixwebhosting.com/');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', 'D:/hshome/mysite/mysite.com/');

define('DIR_WS_ADMIN', 'admin/');

define('DIR_FS_ADMIN', 'D:/hshome/mysite/mysite.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', 'D:/hshome/mysite/mysite.com/');

 

configure.php

define('HTTP_SERVER', 'http://mysite.com');

define('HTTPS_SERVER', 'https://mysite.c6.ixwebhosting.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.mysite.com');

define('HTTPS_COOKIE_DOMAIN', 'mysite.c6.ixwebhosting.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

I have my admin folder protected. Is this the cause? Thanks in advance.

 

 

I am having the same problem but I also cannot get the secure parts of my shopping cart to come up either. My settings look the same as yours. I also have my admin section password protected. Did you have the problem with your shopping cart sections also?

 

Someone please help!!!!!

Link to comment
Share on other sites

I got it fixed.

 

Change this

 

admin/include/configure.php

 

define('HTTP_SERVER', 'https://mysite.com/');

define('HTTP_CATALOG_SERVER', 'https://mysite.com/');

define('HTTPS_CATALOG_SERVER', 'https://mysite.c6.ixwebhosting.com/');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', 'D:/hshome/mysite/mysite.com/');

define('DIR_WS_ADMIN', 'admin/');

define('DIR_FS_ADMIN', 'D:/hshome/mysite/mysite.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', 'D:/hshome/mysite/mysite.com/');

 

to this

 

admin/include/configure.php

 

define('HTTP_SERVER', 'http://mysite.com/');

define('HTTP_CATALOG_SERVER', 'http://mysite.com/');

define('HTTPS_CATALOG_SERVER', 'https://mysite.c6.ixwebhosting.com/');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', 'D:/hshome/mysite/mysite.com/');

define('DIR_WS_ADMIN', 'admin/');

define('DIR_FS_ADMIN', 'D:/hshome/mysite/mysite.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', 'D:/hshome/mysite/mysite.com/');

 

I removed the S from the HTTP_server and HTTP_catalog

My problem was the admin folder was secured already by the host, I think SSL got messed up on the admin site. I removed the SSL for the admin as shown above and everything is fine.

Link to comment
Share on other sites

Hi, I have added a dedicated SSL cert and have followed Jase's insturctions on changing both of the config file, but my admin panel still says 'you are not protected by a secure SSL connection'.

How do I change this so it appears corrcetly please?

 

Thanks Minxy

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

Minxy :)

 

"Keep plodding on to achieve your dreams"

Link to comment
Share on other sites

This is as simple as it gets -- how to install SSL, which is a mandate on every e-commerce site, easily and effectively on OSC:

 

(1) Inform your host. Tell your host you're going to install SSL through another company. They shouldn't charge you, but they might ... 10 bucks or whatever. They'll e-mail you a CSR (certificate signing request), which is really just a big clump of mumble-jumbled coding.

 

(2) Find an SSL Company. A popular one seems to be the RapidSSL by Geotrust, 'cause it's cheap, but there are plenty. Many people use Geotrust, Verisign, Networksolutions, GoDaddy, and others. A Simple Google Search can give you plenty of other options. Make sure it has at least 128-bit data encryption, and is compatible with all browsers. Make sure it has a trusted root. Make sure it puts a padlock in your browser. These are all questions you'll ask the SSL company.

 

(3) Purchase the SSL. E-mail the SSL company your CSR that your host gave to you. Be sure that both your host and the SSL company are on the same page -- assign your SSL to either http://www.yoursite.com, or http://yoursite.com -- but make sure the host and the SSL company are on the same page, and both do the same thing.

 

(4) Go back to your host. You'll receive an SSL Certificate Key from the SSL company once purchased. This will be more mumble-jumbled coding in your e-mail. E-mail the SSL Certificate Key back to your host. They'll install it for you.

 

(5) Alter your config files. All you need to do now is to alter your configure.php files. They're located in (path to catalog)/includes/configure.php, and (path to catalog)/admin/includes/configure.php. OSC is designed to protect the pages that require data encryption, and altering your config files will do this for you. These pages include login, create_account, checkout, etc,. and any other pages that require data-input by the end-user.

 

(6) In includes/configure.php, set the SSL to "true"; it should look something like this near the top, if you assigned the SSL to www.yoursite.com:

define('HTTP_SERVER', 'http://www.yoursite.com');

define('HTTPS_SERVER', 'https://www.yoursite.com');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.yoursite.com');

define('HTTPS_COOKIE_DOMAIN', '.yoursite.com');

 

(7) In admin/includes/configure.php, set the SSL to "true" and add an "s" after all the http's. So it'll look something like this, if assigned to www.yoursite.com:

define('HTTP_SERVER', 'https://www.yoursite.com/');

define('HTTP_CATALOG_SERVER', 'https://www.yoursite.com/');

define('HTTPS_CATALOG_SERVER', 'https://www.yoursite.com/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

(8) Save and upload your configure.php files to their appropriate directories, perhaps using your FTP tool, or other upload tool of choice, and your SSL should be running smoothly and efficiently.

I just want to say that I followed your detailed steps on how to configure the configure.php files and it worked like a dream for me. thanks so much for this jason!

Link to comment
Share on other sites

Hi I have being trying this for a while now and I am truly lost. I followed instructions a number of times. The code I have is pasted below for each of the admin and catalog config files. The cert is on thinkpink.ie

 

Admin

 

define('HTTP_SERVER', 'https://thinkpink.ie/');

define('HTTP_CATALOG_SERVER', 'https://thinkpink.ie/');

define('HTTPS_CATALOG_SERVER', 'https://thinkpink.ie/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

Catalog

 

define('HTTP_SERVER', 'http://www.thinkpink.ie');

define('HTTPS_SERVER', 'https://thinkpink.ie');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.thinkpink.ie');

define('HTTPS_COOKIE_DOMAIN', '.thinkpink.ie');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

Link to comment
Share on other sites

Not to steal the limelight from (I assume) my fellow Irishman in the previous post, but...

 

I have a problem with my SSL setup, after having tried all sorts of variations and combinations based on what I read in this thread and others. Here's my details:

 

The store is on http://store.japan-zone.com, which is also the domain for the installed SSL cert. This subdomain is mapped to the OSC file subdirectory, http://www.japan-zone.com/catalog/. The store itself is working fine but when I try to access any secure pages, I get a 404 Not Found error. I've tried changing the http to https in the admin config file, with no luck. Any suggestions or observations would be most welcome.

 

/catalog/includes/configure.php:

define('HTTP_SERVER', 'http://store.japan-zone.com'); // eg, http://localhost - should not be empty for productive servers

define('JZ_SERVER', 'http://www.japan-zone.com');

define('HTTPS_SERVER', 'https://store.japan-zone.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.japan-zone.com');

define('HTTPS_COOKIE_DOMAIN', '.japan-zone.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

 

/catalog/admin/includes/configure.php:

define('HTTP_SERVER', 'http://store.japan-zone.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://store.japan-zone.com');

define('HTTPS_CATALOG_SERVER', 'https://store.japan-zone.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

Link to comment
Share on other sites

A quick update. My hosting service (Pair) wrote back to me to say:

 

In order to resolve this problem, I have linked your secure web folder to your nonsecure one. This way, all of the files are only needed in one location. This is how osCommerce is configured by default.

 

I wasn't even aware that this was an issue. Anyway, now on secure pages I get a 500 Internal Server Error instead of the 404 Not Found. I have to play with the config files to see if I can resolve the problem, but I thought the above might be helpful/informative for some.

Link to comment
Share on other sites

I seem to be talking to myself here, but at least I finally found the answer. The problem was being caused by a couple of lines in my .htaccess file. They related to php/cgiwrap and hadn't caused any problems before. I removed the two lines and, hey presto, everything now seems to be working fine.

 

The moral of the tale seems to be that if you're getting mysterious 500 Internal Server Errors after installing SSL, look to your .htaccess file(s).

Link to comment
Share on other sites

Hey guys. For someone here that uses RapidSSL, can you plese let me know if you run into any problems such as "There is a problem with this website's security certificate."? Or if I could view your site to see how the RapidSSL works that would be great.

 

I want to purchase a SSL certificate but I dont want to get one that isnt easily recognizable.

 

And I know by reading here that the bigger ones, such as GeoTrush and Verisign are more recognizable but I cant afford the high dollar cost right now.

 

I definately want to start out on the right foot.

 

Thanks.

Link to comment
Share on other sites

I followed your install however I am getting address that do not find pages in the address on https pages like this

 

https://www.mysite.comlogin.php/ (no slash)

 

and my home like looks like this

 

https://www.mysite.com//login.php/ (2 slashes)

 

 

 

includes/config

 

(when I added slashes at the end of the define https address it worked .. but then some of my address has 2 slashes. www.mysite.com//admin/ etc

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.essenceofhealthstore.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.mysite.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.mysite.com');

define('HTTPS_COOKIE_DOMAIN', '.mysite.com');

 

 

Admin config

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'https://www.mysite.com/'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'https://www.mysite.com/');

define('HTTPS_CATALOG_SERVER', 'https://www.mysite.com/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/essence/public_html/'); // where the pages are located on

 

 

Any help you can offer thanks :)

Link to comment
Share on other sites

Hi Jason,

I have tried all the sets you suggested, read all comments by others and also tried changing the sets around, but none of them worked.

When I try to login as a client, if I use a wrong PW it will return the proper error message, but with the right PW it goes blank.

My URL is http://resom.com.br

 

I also changed the date to DD/MM/YYYY as we use in Brazil, but when I try to create accounts it return me an error message saying to enter the date as DD/MM/YYYY just as I had done and I can not move on.

 

I have been stacked at this for over a week, trying to solve it by myself, but I had to call for help.

Thank you for anything you could do for me.

AC

Link to comment
Share on other sites

My admin is secure and working as it should. But when I go to checkout none of the pages show up with https. But if I type the S in the browser my pages are secure and I can see that my SSL is installed. Can someone please take a look at my config files. I can't figure out why the checkout pages are pointing to http instead of https. I think I've tried every combination of settings in this thread. Thanks

 

includes/config

define('HTTP_SERVER', 'http://www.mysite.com');

define('HTTPS_SERVER', 'https://www.mysite.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.mysite.com');

define('HTTPS_COOKIE_DOMAIN', '.mysite.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

 

admin/includes/config

define('HTTP_SERVER', 'https://www.mysite.com');

define('HTTP_CATALOG_SERVER', 'https://www.mysite.com');

define('HTTPS_CATALOG_SERVER', 'https://secure.mysite.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/htdocs/users/username/mysite.com/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/htdocs/users/username/mysite.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/htdocs/users/username/mysite.com/');

Link to comment
Share on other sites

  • 2 weeks later...
My admin is secure and working as it should. But when I go to checkout none of the pages show up with https. But if I type the S in the browser my pages are secure and I can see that my SSL is installed. Can someone please take a look at my config files. I can't figure out why the checkout pages are pointing to http instead of https. I think I've tried every combination of settings in this thread. Thanks

 

includes/config

define('HTTP_SERVER', 'http://www.mysite.com');

define('HTTPS_SERVER', 'https://www.mysite.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.mysite.com');

define('HTTPS_COOKIE_DOMAIN', '.mysite.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

admin/includes/config

define('HTTP_SERVER', 'https://www.mysite.com');

define('HTTP_CATALOG_SERVER', 'https://www.mysite.com');

define('HTTPS_CATALOG_SERVER', 'https://secure.mysite.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/htdocs/users/username/mysite.com/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/htdocs/users/username/mysite.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/htdocs/users/username/mysite.com/');

Link to comment
Share on other sites

jpweber or anyone else who can help please see my store at www.gardeningessentials.co.uk

 

i've tried to follow the (very good) guide on here to setup my SSL but it still seems that my connection is partially unencrypted on all the relevant pages (create account, login etc..)

 

i thought it might have been the external http links in my footer but its stilled partially unencrypted if i remove them

 

how can i still use scripts like google translate and amazon store-in-store? as they don't seem to work as https

 

any help much appreciated

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...