Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't get shared ssl to work


dragongirl

Recommended Posts

Hi,

 

I have been trying to get the shared ssl to work and I am not sure what I am doing wrong

 

http://overallbeauty.com/catalog

its with ipower web

This is what I have

many thanks ahead

 

// Define the webserver and path parameters

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

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

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

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

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

define('HTTP_COOKIE_DOMAIN','overallbeauty.com/');

define('HTTPS_COOKIE_DOMAIN','overallbeauty.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/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

Okay, you need to find out what the shared ssl address is, and then replace https://www.yourdomain.com with the shared ssl address (which is different). The address https://www.yourdomain.com would be correct for a full ssl certificate of your own, but not for a shared ssl.

Also this needs changing to

 

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

 

define('HTTP_COOKIE_DOMAIN','www.overallbeauty.com');

 

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

 

For the https cookie domain either leave it blank or put the first part of the shared ssl address in there, and then for https cookie path put the second part in there e.g.

 

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

 

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

 

But you need to find out what the shared ssl address is.

 

Vger

Link to comment
Share on other sites

Okay, you need to find out what the shared ssl address is, and then replace https://www.yourdomain.com with the shared ssl address (which is different).  The address https://www.yourdomain.com would be correct for a full ssl certificate of your own, but not for a shared ssl.

Also this needs changing to

 

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

 

define('HTTP_COOKIE_DOMAIN','www.overallbeauty.com');

 

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

 

For the https cookie domain either leave it blank or put the first part of the shared ssl address in there, and then for https cookie path put the second part in there e.g.

 

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

 

define('HTTPS_COOKIE_PATH', '/catalog/'); <----add this plus the shared address? :huh:

 

But you need to find out what the shared ssl address is.

 

Vger

I have the shared address but I don't understand where it should go..

 

Should be ipowerweb where you have it be ... that goes there are my host name? as

 

indefine('HTTPS_SERVER', 'https://sharedssl.obuweb.com/overallbeauty.com')

 

You can sure tell I am new at this.. :huh:

 

I do I need to add my host and the shared url?

 

Or just the shared url and is define('HTTPS_COOKIE_PATH', '/catalog/');

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

the https_server

Ok I did it both ways with my domain at the end and not.

 

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

 

putting shared my ssl url inplace of //sharess/.powweb.com/yourdomain.com');

and I did this

 

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

 

Still no lockbox..

Did I do something wrong?..This is driving me silly.. :blink:

Thanks again

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

Hi

Your hosting company should have the details of their ssl server. it shuld be something like

 

https//:mmm2101.london21-verio.com/potato

 

The first part is the address of the ssl server and the potato is the name of your account( not the nale of you websit). Do not put a '/' at the end. Your https cookie domain should be the same. Do not touch the other details.

That works for sharing your catalog. The admin section is a whole new problem on a shared ssl. If you search the forums, there is a solution, but it is extremely complicated to set up properly

I hope this helps

Mark

Link to comment
Share on other sites

thanks,

 

I am running it in windows but the server is unix

In the address given to me after the / is my user name is it possible that it should

be my website instead or all of it ..then after / add my web site?

 

Is there a bigger problem because I am using Windows?

 

It was told me that all I had to do was drop it or something , it was to be that easy.

 

In all honestly would it be easier to just go ahead and buy a ssl ? This is my very first site so it has me pulling my hair out on a regular bases

 

Anymore ideas?

 

Thanks everyone so far..I am at least learning something!

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

Hi

Try This

 

define('HTTP_SERVER', 'http://www.blob.com'); // eg, http://localhost - should not be ........

define('HTTPS_SERVER', 'https://your ssl server address.com/your account name with you host'); //

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

define('HTTP_COOKIE_DOMAIN', 'www.blob.com');

define('HTTPS_COOKIE_DOMAIN', 'https://your ssl server address.com/your account name with your host');

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

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

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

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

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

This is the solution for a Unix server. Your account name with your host is probably your username.

Link to comment
Share on other sites

Hi

Try This

 

define('HTTP_SERVER', 'http://www.blob.com'); // eg, http://localhost - should not be ........

define('HTTPS_SERVER', 'https://your ssl server address.com/your account name with you host'); //

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

define('HTTP_COOKIE_DOMAIN', 'www.blob.com');

define('HTTPS_COOKIE_DOMAIN', 'https://your ssl server address.com/your account name with your host');

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

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

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

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

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

This is the solution for a Unix server. Your account name with your host is probably your username.

:'( I'm sorry to say that I did all of this..nothing..

 

Just to make sure I have it right..The locketbox should show up before credit card information is put in and after signing up..

 

And I found I have 2 config.php

The second one is incatalog /admin/includes

 

I have been working on catalog /admin

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

BIG MISTAKE

The catalog/admin configure.php files secures your admin section. That is complately different. To secure your checkout, you should be working on the catalog/includes/configure.php file. You should Overwrite your admin configure file with your backup or the copy on your personal computer. You do not want to mess that up.If you need to secure your admin panel, that is even more complicated. There is a post that descibes how to secure the admin panel with a secured ssl, but it is complicated procedure to get it right.

Mark

Link to comment
Share on other sites

do us a favor and post your actual configure.php file without the database info. hiding the domain is senseless and you could have things misinterpreted. your customers see that anyway, and here we are trying to help

Link to comment
Share on other sites

Hi Mibble - she did post the domain name and configure.php in the first post - but what was needed was the shared ssl address as provided by her hosting company. What she should not do is this - as it is plainly wrong.

 

define('HTTPS_COOKIE_DOMAIN', 'https://your ssl server address.com/your account name with your host');

 

Vger

 

 

do us a favor and post your actual configure.php file without the database info.  hiding the domain is senseless and you could have things misinterpreted.  your customers see that anyway, and here we are trying to help

Link to comment
Share on other sites

Hi Mibble - she did post the domain name and configure.php in the first post - but what was needed was the shared ssl address as provided by her hosting company.  What she should not do is this - as it is plainly wrong.

Vger

 

Well Vger. It is always helpful to people when you rapidly point out faults without providing solutions. It really helps to discourage people from sharing what solutions they found. You could possibly think of being more polite

This is the way my hosting company helped me set my configure file and it is PLANLY RIGHT 5 Well it works anyway)

 

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

define('HTTPS_SERVER', 'https://mmm2101.london21-verio.com/duranc'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '82.112.102.87');

define('HTTPS_COOKIE_DOMAIN', 'https://mmm2101.london21-verio.com/duranc');

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

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

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

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

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

Link to comment
Share on other sites

by using an ip address in http_server then everyone gets switched from http://domain.com to http://ipaddress

 

this is totally wrong

the http cookie comain wont work well with the ip address

the https_cookie domain doesnt work with https:// in it

 

other than that i dont see things working properly, your host is full of . . . ..

Link to comment
Share on other sites

by using an ip address in http_server then everyone gets switched from http://domain.com to http://ipaddress

 

this is totally wrong

the http cookie comain wont work well with the ip address

the https_cookie domain doesnt work with https:// in it

 

other than that i dont see things working properly, your host is full of . . . ..

 

My site has the ip address because it is still in production. It is not online yet. You asked to print the whole configure file. I did not the first time because I know the ip address is not correct. The question was regarding the SSL.

Link to comment
Share on other sites

This screen shott is what worked for me. I am sorry if you are confused. It seems that there are a couple of people destroying my post without giving a solution. Chage the bits in red and give it a try If it does not work for you, sorry but I am only trying to help.

The mmm2101.london-21-verio.com is the shared hosting server supplied by my host which is verio.com and the duranc is the name of my account with them. Notice that it is not the same as my website name which is durance.

Check with your host, they should supply this information if they have supplied you with a shared ssl certificate

Mark

 

 

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

define('HTTPS_SERVER', 'https://mmm2101.london21-verio.com/duranc'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'durance.fr');

define('HTTPS_COOKIE_DOMAIN', 'https://mmm2101.london21-verio.com/duranc');

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

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

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

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

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

Link to comment
Share on other sites

Thanks

 

What ever my problem is I can't fix it..

I am guessing now I will have to try and get with my host about this..

 

When should the locketbox show itsself?

 

Once someone has signed in or when they start ordering?

Either way I am not seeing any https or box. :blink:

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

Thanks

 

What ever my problem is I can't fix it..

I am guessing now I will have to try and get with my host about this..

 

When should the locketbox show itsself?

 

Once someone has signed in or when they start ordering?

Either way I am not seeing any https or box. :blink:

Did you download the osCommerce files and ftp them to your server, or did you install osCommerce using the iPowerWeb Control Panel? If you use the Control Panel and tell it you want an SSL connection, it will automatically configure your catalog/includes/configure.php file correctly. If I were you, I would consider uninstalling and reinstalling osCommerce using the iPowerWeb Control Panel. We can work on your image size problem later.

Link to comment
Share on other sites

Who is your host?

 

 

My host is http://www.obuweb.com

 

And he just told me I have a non working oscommerce and a mess on my hands

that he doesn't have time to fix today.

The host is also my baby brother so he can get away with saying that..lol

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

What did you mean by "its with ipower web"?

Thats what the hosting company is that is what he uses I guess.. :blink:

 

Right now all I see when I go for the admin is 404 error pages..

 

Somehow is my changing things to try and the ssl to work I lost my admin :'(

I been trying to get it get it back to the organial but I guess its not taking or something

 

I am using ftp..

 

Also my site is a cusom job and the url got changed when the guy clean up this major mess I made (didn't know you had to use a ftp not update something like you would html, I had a double site there going),

and I can't get to him cause he has someone pass away in his family and I have no idea when he will be back to be able to work on this..and I need this done

 

I was thinking of getting a fresh config file and ftp it up and start over..can that be done?

 

yes I really do need to do something about those images..most are 300x300

"Wasn't me..I was dead at the time"~~~~ Dress To Kill

Link to comment
Share on other sites

Thats what the hosting company is that is what he uses I guess.. :blink:

 

Right now all I see when I go for the admin is 404 error pages..

 

Somehow is my changing things to try and the ssl to work I lost my admin :'(

I been trying to get  it get it back to the organial but I guess its not taking or something

 

I  am using ftp..

 

Also my site is a cusom job and the url got changed when the guy clean up this major mess I made (didn't know you had to use a ftp not update something like you would html, I had a double site there going),

and I can't get to him cause he has someone pass away in his family and I have no idea when he will be back to be able to work on this..and I need this done

 

I was thinking of getting a fresh config file and ftp it up and start over..can that be done?

 

yes I really do need to do something about those images..most are 300x300

If permissions are set properly on your configure.php files, you will not be able to ftp revised ones to the server. Your best bet is to log on to the iPowerWeb Control Panel for your site and work through that.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...