Shared SSL on Chopin Server

Status
Not open for further replies.

nohart

New Member
Messages
16
Reaction score
0
Points
0
I am running Zen Cart shopping cart. I understand that there is a shared ssl certificate available. I cant find any information on this in the forum. I need help configuring my script. Which format should I use?

Shared Certificate
Change includes/configure.php and admin/includes/configure.php to:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.YOUR_SHOP.com');
define('HTTPS_SERVER', 'https://YOUR_SHOP.YOUR_SECURE_SERVER.net');
define('ENABLE_SSL', 'true');

or:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.YOUR_SHOP.com');
define('HTTPS_SERVER', 'https://YOUR_SECURE_SERVER.net/YOUR_USERNAME');
define('ENABLE_SSL', 'true');

or:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.YOUR_SHOP.com');
define('HTTPS_SERVER', 'https://YOUR_SECURE_SERVER.net/~YOUR_USERNAME');
define('ENABLE_SSL', 'true');
 

nohart

New Member
Messages
16
Reaction score
0
Points
0
Ok I used Google to do a site search here and I came up with some info. I think my Shared SSL on Chopin is https://chopin.x10hosting.com/~nohart/ so I think I would use the last option:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.aclassactapparel.com');
define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~nohart/');
define('ENABLE_SSL', 'true');

Is there any guru that can confirm this?

Also on this line:
https://chopin.x10hosting.com/~nohart/
Is it important to have the last slash in place or does it even need to be there?

Thank you
 

nohart

New Member
Messages
16
Reaction score
0
Points
0
Ok I tried to update my includes/configure.php and admin/includes/configure.php to this:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.aclassactapparel.com');
define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~nohart/');
define('ENABLE_SSL', 'true');

Changed both file permissions to 777 and uploaded to the server and reset permissions to 444 but when I try to go to my web site using https://www.aclassactapparel.com/index.php?main_page= it comes up with a warning on both Firefox & IE8:

Firefox:

This Connection is Untrusted

You have asked Firefox to connect securely to www.aclassactapparel.com, but we can't confirm that your connection is secure.

Normally, when you try to connect securely, sites will present trusted identification to prove that you are going to the right place. However, this site's identity can't be verified.
What Should I Do?

If you usually connect to this site without problems, this error could mean that someone is trying to impersonate the site, and you shouldn't continue.

IE8:

There is a problem with this website's security certificate.


The security certificate presented by this website was issued for a different website's address.

Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.

I'm not sure whats wrong...
 

nohart

New Member
Messages
16
Reaction score
0
Points
0
ok I took the last slash out so now the file looks like this:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.aclassactapparel.com');
define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~nohart');
define('ENABLE_SSL', 'true');

It looks like the site is performing as I see the little Padlock down the the status bar showing the site is secure but the url changes from http://www.aclassactapparel.com/index....... to https://chopin.x10hosting.com/~nohart/index....... I dont know if anything can be done about this as this may be a little disconcerting to my customers. Any way I would appreciate any help and or advice etc

Should I use the first example like this?

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.aclassactapparel.com');
define('HTTPS_SERVER', 'https://aclassactapparel.chopin.x10hosting.com');
define('ENABLE_SSL', 'true');

Not sure if this is correct
 
Last edited:

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
The browser says its not secure because the SSL Certificate belongs to chopin.x10hosting.com as a domain, not aclassatapparel.com. Firefox tells me the certificate belongs to a different site, which is true because it belongs to chopin.x10hosting.com. This is simply how Shared SSL ends up working.

You can add an exception for this in Firefox.

To fully use the SSL Certificate without giving an error to your customers, you probably have to have the shopping cart's URL be https://chopin.x10hosting.com/~nohart/ followed by the cart page.
 

nohart

New Member
Messages
16
Reaction score
0
Points
0
ok thank you! Is there a way that I can configure the php pages so the site doesn't appear to be changing url's? Reference post#1 I am using the third example now but if I changed it to the first example would that avoid the url change?

Currently using:
// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.aclassactapparel.com');
define('HTTPS_SERVER', 'https://chopin.x10hosting.com/~nohart');
define('ENABLE_SSL', 'true');

Purposed:
// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.aclassactapparel.com');
define('HTTPS_SERVER', 'https://aclassactapparel.chopin.x10hosting.com');
define('ENABLE_SSL', 'true');

Would this stop the URL change? (or at least make it appear that my customer is still on my site)

It looks as if my only choice is the third example because X10hosting uses the tilde in my ssl:

https://chopin.x10hosting.com/~nohart/
 
Last edited:
Status
Not open for further replies.
Top