{"id":75,"date":"2011-08-26T18:34:39","date_gmt":"2011-08-26T22:34:39","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2011\/08\/26\/set-up-ssl-with-oscommerce-and-zencart\/"},"modified":"2024-03-11T15:17:17","modified_gmt":"2024-03-11T19:17:17","slug":"set-up-ssl-with-oscommerce-and-zencart","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/","title":{"rendered":"Set up SSL with OsCommerce and Zen Cart"},"content":{"rendered":"<p>This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a <a href=\"\/support\/website\/ssl\/how-does-the-shared-ssl-work\/\">shared<\/a> or a dedicated SSL certificate. <a href=\"\/support\/amp\/how-do-i-obtain-an-ssl-certificate\/\">Dedicated SSL certificates must be purchased<\/a> from us or another vendor and will show your domain name in the address bar, while our free shared SSL certificates will show our machine name with your username, in the format of\u00a0<strong>https:\/\/secureXX.inmotionhosting.com\/~userna5<\/strong><\/p>\n<p>These instructions are mainly aimed at OsCommerce, but the same settings are applied to Zen Cart, minus the COOKIE_DOMAIN options.<\/p>\n<h2><strong>Shared SSL Setup<\/strong><\/h2>\n<p><a href=\"\/support\/website\/find-config-files\/\">Locate your configure.php file<\/a>, absolute to the location of your shopping cart. The file location starts at <a href=\"\/support\/website\/where-to-upload-files\/\">the root folder for your application<\/a> and is then located at <em>\/includes\/configure.php<\/em>, so if you had set up the application at <em>example.com\/cart<\/em> your <em>configure.php<\/em> file would be located at the following:<\/p>\n<p><strong>\/public_html\/cart\/includes\/configure.php<\/strong><\/p>\n<p>If the cart is installed at the main domain, such as <em>example.com<\/em>, then the file would be found at the following path:<\/p>\n<p><strong>\/public_html\/includes\/configure.php<\/strong><\/p>\n<p>Specifically, you&#8217;ll want to pay attention to these lines:<\/p>\n<pre class=\"code_block\">define('HTTP_SERVER', 'https:\/\/example.com');<\/pre>\n<div class=\"code_block\"><em>\/\/ eg, https:\/\/localhost -should not be empty for productive servers<\/em><\/div>\n<pre class=\"code_block\">define('HTTPS_SERVER', 'https:\/\/secureXX.inmotionhosting.com\/~userna5');<\/pre>\n<div class=\"code_block\"><em>\/\/ eg, https:\/\/localhost &#8211; should not be empty for productive servers<\/em><\/div>\n<pre class=\"code_block\">define('ENABLE_SSL', true); \/\/ secure webserver for checkout procedure?\n\ndefine('HTTP_COOKIE_DOMAIN', 'example.com');\n\ndefine('HTTPS_COOKIE_DOMAIN','secureXX.inmotionhosting.com\/~userna5');<\/pre>\n<h4>https:\/\/example.com&#8217;); \/\/ eg, https:\/\/localhost &#8211; should not be empty for productive servers<\/h4>\n<p>You&#8217;ll need to modify the<strong> HTTPS_SERVER, HTTPS_COOKIE_DOMAIN, <\/strong>and<strong> ENABLE_SSL<\/strong> fields with your account information. The format is as follows:<\/p>\n<h4>https:\/\/secureXX.inmotionhosting.com\/~userna5<\/h4>\n<p>&#8220;<strong>secureXX<\/strong>&#8221; will represent the server your account is located on, so you will need to make sure the server number is correct. If you are not sure, please refer to your Welcome email or contact support.<\/p>\n<p>&#8220;<strong>userna5<\/strong>&#8221; will represent your InMotion account username Once this information is saved, your cart will switch to the SSL server whenever a customer logs in or goes to checkout.<\/p>\n<h2><strong>Dedicated SSL Setup<\/strong><\/h2>\n<p>Dedicated SSL certificates are set up the same as the shared, only you use your domain rather than the machine name:<\/p>\n<pre class=\"code_block\">define('HTTP_SERVER', 'https:\/\/example.com');<\/pre>\n<div class=\"code_block\"><em> \/\/ eg, https:\/\/localhost &#8211; should not be\u00a0empty\u00a0for productive servers<\/em><\/div>\n<pre class=\"code_block\">define('HTTPS_SERVER', 'https:\/\/example.com');<\/pre>\n<div class=\"code_block\"><em> \/\/ eg, https:\/\/localhost &#8211; should not beempty\u00a0for productive servers<\/em><\/div>\n<pre class=\"code_block\">define('ENABLE_SSL', true); \/\/ secure webserver for checkout procedure?\n\ndefine('HTTP_COOKIE_DOMAIN', 'example.com');\n\ndefine('HTTPS_COOKIE_DOMAIN', 'example.com');<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a shared or a dedicated SSL certificate. Dedicated SSL certificates must be purchased from us or another vendor and will show your domain name in the address bar, while our free shared SSL certificates will show our machine<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[31],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-oscommerce"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Set up SSL with OsCommerce and Zen Cart | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a shared or a dedicated SSL certificate.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set up SSL with OsCommerce and Zen Cart | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a shared or a dedicated SSL certificate.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-08-26T22:34:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-11T19:17:17+00:00\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"Set up SSL with OsCommerce and Zen Cart\",\"datePublished\":\"2011-08-26T22:34:39+00:00\",\"dateModified\":\"2024-03-11T19:17:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\"},\"wordCount\":372,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"OsCommerce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\",\"name\":\"Set up SSL with OsCommerce and Zen Cart | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2011-08-26T22:34:39+00:00\",\"dateModified\":\"2024-03-11T19:17:17+00:00\",\"description\":\"This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a shared or a dedicated SSL certificate.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set up SSL with OsCommerce and Zen Cart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set up SSL with OsCommerce and Zen Cart | InMotion Hosting","description":"This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a shared or a dedicated SSL certificate.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/","og_locale":"en_US","og_type":"article","og_title":"Set up SSL with OsCommerce and Zen Cart | InMotion Hosting","og_description":"This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a shared or a dedicated SSL certificate.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2011-08-26T22:34:39+00:00","article_modified_time":"2024-03-11T19:17:17+00:00","author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"Set up SSL with OsCommerce and Zen Cart","datePublished":"2011-08-26T22:34:39+00:00","dateModified":"2024-03-11T19:17:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/"},"wordCount":372,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["OsCommerce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/","name":"Set up SSL with OsCommerce and Zen Cart | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2011-08-26T22:34:39+00:00","dateModified":"2024-03-11T19:17:17+00:00","description":"This article will explain how to set up your OsCommerce or Zen Cart shopping cart with either a shared or a dedicated SSL certificate.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/oscommerce\/set-up-ssl-with-oscommerce-and-zencart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Set up SSL with OsCommerce and Zen Cart"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":108975,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/75\/revisions\/108975"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}