Zen Cart Logo
Forums / General Questions / Removed www from security cert

Removed www from security cert

Locked

Views: 1,566

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
5 Sep 2008, 6:05 PM
#1
oerika avatar

oerika

New Zenner

Join Date:
Mar 2005
Posts:
9
Plugin Contributions:
0

Removed www from security cert

I removed the www from my web address http://tribabe.com/shop when I purchased a renewed security certificate (don't ask me why I have no good reason) and have had problems with security certificate errors since then. We have gotten rid of all of them except at the shopping cart/go to check out when it launches checkout_shipping. I am going to have to purchase another security certificate if I can figure out how to get zen cart to stop going to https://www.tribabe.com/*

Any advice would be greatly appreciated.

5 Sep 2008, 6:06 PM
#2
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

Re: Removed www from security cert

Did you change the includes/configure.php and admin/includes/configure.php?

5 Sep 2008, 6:07 PM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Removed www from security cert

oerika:

I removed the www from my web address http://tribabe.com/shop when I purchased a renewed security certificate (don't ask me why I have no good reason) and have had problems with security certificate errors since then. We have gotten rid of all of them except at the shopping cart/go to check out when it launches checkout_shipping. I am going to have to purchase another security certificate if I can figure out how to get zen cart to stop going to https://www.tribabe.com/*

Any advice would be greatly appreciated.
go to includes/configure.php and admin/includes/configure.php to make the changes.

Edit: oops. Kim beats me to it.

5 Sep 2008, 6:22 PM
#4
oerika avatar

oerika

New Zenner

Join Date:
Mar 2005
Posts:
9
Plugin Contributions:
0

Re: Removed www from security cert

I think it looks right in includes/configure.php and admin/includes/configure.php (on bottom) can you look at them and see if I'm missing something?

define('HTTP_SERVER', 'http://tribabe.com');
define('HTTPS_SERVER', 'https://tribabe.com');

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

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
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/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/oerika/public_html/shop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'oerika_zencart');
define('DB_SERVER_PASSWORD', 'zencart123');
define('DB_DATABASE', 'oerika_zencart');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/home/oerika/public_html/shop/cache');

?>

define('HTTP_SERVER', 'http://tribabe.com');
define('HTTPS_SERVER', 'https://tribabe.com');
define('HTTP_CATALOG_SERVER', 'http://tribabe.com');
define('HTTPS_CATALOG_SERVER', 'https://tribabe.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/shop/admin/');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
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/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/home/oerika/public_html/shop/admin/');
define('DIR_FS_CATALOG', '/home/oerika/public_html/shop/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'oerika_zencart');
define('DB_SERVER_PASSWORD', 'zencart123');
define('DB_DATABASE', 'oerika_zencart');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/home/oerika/public_html/shop/cache');

?>

5 Sep 2008, 6:25 PM
#5
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

Re: Removed www from security cert

The error says that the Cert you have expired in June. Have you bought a new cert? Is it installed?

5 Sep 2008, 6:28 PM
#6
oerika avatar

oerika

New Zenner

Join Date:
Mar 2005
Posts:
9
Plugin Contributions:
0

Re: Removed www from security cert

I bought a new certificate for "tribabe.com" and open source host told me they installed it. Is there a way to find out if they did not install it? The error I receive when I try to use the check out is: tribabe.com uses an invalid security certificate.

The certificate is only valid for https://www.tribabe.com
The certificate expired on 6/17/2008 6:56 PM.

(Error code: ssl_error_bad_cert_domain)

Thanks so much!

5 Sep 2008, 6:29 PM
#7
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

Re: Removed www from security cert

You need to talk to your host.

5 Sep 2008, 6:31 PM
#8
oerika avatar

oerika

New Zenner

Join Date:
Mar 2005
Posts:
9
Plugin Contributions:
0

Re: Removed www from security cert

I am not having a lot of luck with that route, they say:

"You will need to purchase a new SSL certificate which includes the www. There is no way to edit an existing SSL certificate to change it to www if it was not setup with that."

and "You will have to use https://www.tribabe.com in the zencart settings, not just tribabe.com"

5 Sep 2008, 6:54 PM
#9
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Removed www from security cert

You do NOT need to purchase a new ssl, but your ssl without the www is already expired. If you bought a new one, which means they have not installed it for you.

5 Sep 2008, 8:45 PM
#10
oerika avatar

oerika

New Zenner

Join Date:
Mar 2005
Posts:
9
Plugin Contributions:
0

Re: Removed www from security cert

Thanks for the replies, I will see if they can get that certificate installed properly this time.