{"id":1100,"date":"2011-12-28T15:29:21","date_gmt":"2011-12-28T15:29:21","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2011\/12\/28\/how-to-enable-ssl-connection-in-opencart\/"},"modified":"2023-12-22T15:29:33","modified_gmt":"2023-12-22T20:29:33","slug":"how-to-enable-ssl-connection-in-opencart","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/","title":{"rendered":"How to Enable SSL Connection in OpenCart 1.5"},"content":{"rendered":"\n<p>For most eCommerce websites, it is recommended to ensure that you have an SSL certificate installed for your domain. If you do not have a dedicated SSL installed properly, you may experience issues accessing your OpenCart 1.5 dashboard and the login\/checkout pages of your store. Additionally, most payment processors such as Authorize.net will require you to purchase an SSL. You may want to purchase and install one prior to fully setting up your shopping cart.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#dashboard\"  >Enabling SSL in the OpenCart Dashboard<\/a><\/li><li><a href=\"#config\"  >Enabling SSL in the OpenCart config.php file<\/a><\/li><li><a href=\"#admin\"  >Enabling SSL in the OpenCart Admin config.php file<\/a><\/li><\/ul>\n\n\n\n<p>Please see our tutorials if you need <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/what-is-ssl-and-why-is-it-important\/\"  >more information on what a SSL is<\/a> and <a href=\"\/support\/amp\/how-do-i-obtain-an-ssl-certificate\/\">how to purchase<\/a> one. Please keep in mind OpenCart<strong> does not<\/strong> support the use of the shared SSL certificate.<\/p>\n\n\n\n<p>To <strong>enable SSL in OpenCart<\/strong>, there are three areas to edit: The System Settings in the OpenCart Dashboard, the config.php file in the directory where you installed OpenCart, and the config.php file in your OpenCart Admin folder.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dashboard\">Enabling SSL in the OpenCart 1.5 Dashboard<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/dashboard-login\/\"  >Log into the OpenCart Dashboard<\/a><\/li><li>Go to<strong> System &gt; Settings<\/strong><\/li><li>Click on the <strong>Server tab<\/strong><\/li><li>Check the radio button to use SSL<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"config\">Enabling SSL in the OpenCart 1.5 config.php file<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\"  >Log into cPanel<\/a> and go to <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/using-file-manager-in-cpanel\/\"  >File Manager<\/a><\/li><li>Navigate to your OpenCart installation directory<\/li><li>Open (Edit or Code Editor) the configuration file (config.php)<\/li><li>Look for the lines below <strong>\/\/ HTTPS <\/strong>that looks similar to this<strong>:<br><\/strong><pre class=\"wp-preformatted-block\">define('HTTPS_SERVER', 'https:\/\/opencart.inmotiontesting.com\/');<br>define('HTTPS_IMAGE', 'https:\/\/opencart.inmotiontesting.com\/image\/');<\/pre><\/li><li>Edit the HTTPS settings to reflect your SSL URL path. For example: <pre class=\"wp-preformatted-block\">define('HTTPS_SERVER', 'https:\/\/opencart.inmotiontesting.com\/');<br>define('HTTPS_IMAGE', 'https:\/\/opencart.inmotiontesting.com\/image\/');<\/pre><\/li><li><strong>Save changes and close the config.php file<br><\/strong><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"admin\">Enabling SSL in the OpenCart 1.5 Admin config.php file<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Go to the <strong> Admin <\/strong>folder<\/li><li>Open (Edit or Code Editor) the configuration file (config.php)<\/li><li>Look for the lines below <strong>\/\/ HTTPS <\/strong>that looks similar to this<strong>:<br><\/strong><pre class=\"wp-preformatted-block\">define('HTTPS_SERVER', 'https:\/\/opencart.inmotiontesting.com\/admin\/');<br>define('HTTPS_CATALOG', 'https:\/\/opencart.inmotiontesting.com\/');<br>define('HTTPS_IMAGE', 'https:\/\/opencart.inmotiontesting.com\/image\/');<\/pre><\/li><li>Edit the HTTPS settings to reflect your SSL URL path. For example: <pre class=\"wp-preformatted-block\">define('HTTPS_SERVER', 'https:\/\/opencart.inmotiontesting.com\/admin\/');<br>define('HTTPS_CATALOG', 'https:\/\/opencart.inmotiontesting.com\/');<br>define('HTTPS_IMAGE', 'https:\/\/opencart.inmotiontesting.com\/image\/');<\/pre><\/li><li><strong>Save changes and close the config.php file<\/strong><\/li><\/ol>\n\n\n\n<p>Now, anytime you login to your dashboard or a visitor purchases a product it will force the SSL for security purposes. If you need further assistance please feel free to <a href=\"https:\/\/www.inmotionhosting.com\/support\/questions\/\"  >ask a question on our support center<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For most eCommerce websites, it is recommended to ensure that you have an SSL certificate installed for your domain. If you do not have a dedicated SSL installed properly, you may experience issues accessing your OpenCart 1.5 dashboard and the login\/checkout pages of your store. Additionally, most payment processors such as Authorize.net will require you<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"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":[81],"tags":[],"class_list":["post-1100","post","type-post","status-publish","format-standard","hentry","category-opencart"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Enable SSH Connection in OpenCart 1.5<\/title>\n<meta name=\"description\" content=\"Learn how to enable SSL connections to your OpenCart shopping cart.\" \/>\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\/opencart\/how-to-enable-ssl-connection-in-opencart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable SSH Connection in OpenCart 1.5\" \/>\n<meta property=\"og:description\" content=\"Learn how to enable SSL connections to your OpenCart shopping cart.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/\" \/>\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-12-28T15:29:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-22T20:29:33+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\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\/opencart\/how-to-enable-ssl-connection-in-opencart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Enable SSL Connection in OpenCart 1.5\",\"datePublished\":\"2011-12-28T15:29:21+00:00\",\"dateModified\":\"2023-12-22T20:29:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/\"},\"wordCount\":362,\"commentCount\":45,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"OpenCart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/\",\"name\":\"How to Enable SSH Connection in OpenCart 1.5\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2011-12-28T15:29:21+00:00\",\"dateModified\":\"2023-12-22T20:29:33+00:00\",\"description\":\"Learn how to enable SSL connections to your OpenCart shopping cart.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable SSL Connection in OpenCart 1.5\"}]},{\"@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\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable SSH Connection in OpenCart 1.5","description":"Learn how to enable SSL connections to your OpenCart shopping cart.","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\/opencart\/how-to-enable-ssl-connection-in-opencart\/","og_locale":"en_US","og_type":"article","og_title":"How to Enable SSH Connection in OpenCart 1.5","og_description":"Learn how to enable SSL connections to your OpenCart shopping cart.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2011-12-28T15:29:21+00:00","article_modified_time":"2023-12-22T20:29:33+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Enable SSL Connection in OpenCart 1.5","datePublished":"2011-12-28T15:29:21+00:00","dateModified":"2023-12-22T20:29:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/"},"wordCount":362,"commentCount":45,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["OpenCart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/","name":"How to Enable SSH Connection in OpenCart 1.5","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2011-12-28T15:29:21+00:00","dateModified":"2023-12-22T20:29:33+00:00","description":"Learn how to enable SSL connections to your OpenCart shopping cart.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/how-to-enable-ssl-connection-in-opencart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Enable SSL Connection in OpenCart 1.5"}]},{"@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\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":81,"name":"OpenCart","slug":"opencart","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/opencart\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1100","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\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1100"}],"version-history":[{"count":14,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1100\/revisions"}],"predecessor-version":[{"id":108583,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1100\/revisions\/108583"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}