Post by PinkApe404 » Wed Jun 04, 2014 4:00 am

Hey all, so was wondering how to change the site url to be https:// instead of http:// in the softaculous install as we had an ssl installed.

Newbie

Posts

Joined
Sat May 31, 2014 9:24 pm

Post by Dhaupin » Wed Jun 04, 2014 5:05 am

You goto store settings and click the box under the "server" tab. This should enable SSL on account, checkout, etc. If you need, you can hit the configs too, and the htaccess as well if you want https on literally every page http://forum.opencart.com/viewtopic.php?f=20&t=126070

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by PinkApe404 » Wed Jun 04, 2014 5:17 am

Dhaupin wrote:If you need, you can hit the configs too,
Where would I do this?

also I had my OC installed to the URL http://www.mydomain.com

should I change the install to https://www.mydomain.com

lastly, I keep getting an error on the SSL saying that there is a name mismatch - something having to do with the ssl issued to www.mydomain.com and me using mydomain.com. Also when I cut or delete the https:// par in the address it allows me to access my site without any https.

Newbie

Posts

Joined
Sat May 31, 2014 9:24 pm

Post by victorj » Wed Jun 04, 2014 6:14 am

do you want your entire site to run under ssl or just the account and checkout pages

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member
Online

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by PinkApe404 » Wed Jun 04, 2014 6:32 am

victorj wrote:do you want your entire site to run under ssl or just the account and checkout pages
it is an E-Commerce site. My perception of a good site is when the home page is secure, followed by the most important pages ( account, checkout).

I am having a small other issue - that is with the redirects. No clue how to tackle that one because I was able to access two versions of my store simply by cutting out the https:// part from the address bar and the browser had no problem opening an unsecured version of an otherwise secure page;

https://www.productbeast.com

I have this gut feeling the site is not 100% - I may be over thinking it.

Newbie

Posts

Joined
Sat May 31, 2014 9:24 pm

Post by ocaddons » Wed Jun 04, 2014 12:19 pm

@PinkApe404

Enable SSL in the OpenCart Dashboard

-- You have to Log into Dashboard of OpenCart.
-- Go to System and click on Settings.
-- Click on the Server tab.
-- Check box the radio button for SSL.

Enable SSL in the OpenCart Directory config.php File

-- Open control panel and log into it, then go to File Manager.
-- Navigate to OpenCart installation directory.
-- Open the configuration file (config.php) and look for the below lines appeared as HTTPS:

Code: Select all

define('HTTPS_SERVER', 'http://www.yourdomain.com/');
Edit the HTTPS settings in the file for SSL URL path. Just add- “S” to HTTP:// to turn it HTTPS:// and click on Save changes.

Code: Select all

define('HTTPS_SERVER', 'https://www.yourssldomain.com/');
Enable SSL in the OpenCart Admin Folder config.php File

-- Browse Admin folder and open the configuration file.
-- Look for the below lines appeared as HTTPS:

Code: Select all

define('HTTPS_SERVER', 'http://www.yourdomain.com/admin/');
define('HTTPS_CATALOG', 'http://www.yourdomain.com/');
Last, again edit the HTTPS settings in the file for SSL URL path. Just add- “S” to HTTP:// to turn it HTTPS://.

Code: Select all

define('HTTPS_SERVER', 'http://www.yourssldomain.com/admin/');
define('HTTPS_CATALOG', 'http://www.yourssldomain.com/');

Image
Image

EMail: support@ocaddons.com


User avatar
New member

Posts

Joined
Fri Dec 27, 2013 10:21 am


Post by platypuspuzzles » Wed Jun 04, 2014 10:32 pm

Great instructions ocaddons

But the last code box needs to have the s added to the httpS;//www.yourssldomain.com/admin/

Active Member

Posts

Joined
Sun Jan 23, 2011 8:11 pm
Who is online

Users browsing this forum: No registered users and 16 guests