Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-25-2016 15:10:33

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Adding HTTPS / SSL to my site

I have my site running on a dev sub folder at the moment and have today purchased and installed my SSL cert in preparation for my payment gateway and going live next week (hopefully).

All seems to be fine on my web server.  I have uploaded test files to the httpsdocs folder and accessed via the https:// url to make sure everything is working and I can reach those files securely.

I then went to update my installer with my new https:// domain but have been getting 404 Not found pages.  (I am not using SEO urls or anything at this stage)

I have gone through the forum looking at others who had similar issues over the last years and used Nicks advice but doesn't seem to be working for me.

Here are the steps I have taken.  The only change I have made is in Step 3.  If anyone could shed light on it, I would appreciate it.

Step 1 of 13
Public Directory Path - no change
Private Directory Path - no change
Public Script Name - no change
Management Interface Script Name - no change

Step 2 of 13
cURL All fields blank - no change

Step 3 of 13: URL Info
Non-Secure (Non-SSL) URL - no change - stays at http://www.DOMAIN.co.uk/dev
Secure (SSL) URL - changed to https://www.DOMAIN.co.uk/dev
Secure (SSL) Port - no change

Step 4 of 13: Cookie Info
non-secure and secure cookie domains and path - NO CHANGE
domain - .DOMAIN.co.uk
path - /dev

Steps 5 - 13 - no other changes made

Get to the end and 'Click here' to run the management interface.  Get a 404 Not Found.

Am I doing something obvious wrong here?  When I check the httpsdocs folder on my web server via FTP, there is nothing in there.  Am I meant to manually copy files across?  I have been running the installer from the httpdocs (non secure) folder.

============
Additional EDIT
============

This is a new site and I would ideally like to run the whole site on HTTPS.  Should I just reinstall it in my httpsdocs folder on my webserver?
Would that be the best thing to do?

Last edited by GlennMUK (08-25-2016 16:24:19)

Offline

 

#2 08-26-2016 13:27:29

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Adding HTTPS / SSL to my site

I have figured this out and moved the full site to HTTPS.  All working well.

I moved all files from httpdocs to httpsdocs.  I also moved my install private folder.
Kept everything else the same.

Re-ran the installer and updated http to https where needed and all is now looking good.

I also executed the raw database admin
UPDATE core_namespaces SET hreftype='SSL' WHERE hreftype='Non-SSL'

Offline

 

#3 08-18-2017 11:32:04

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

Re: Adding HTTPS / SSL to my site

Hi Glenn
Can you send me the steps you followed to get this to work. In particular the information you put in the cookie domain boxes etc when running the installer and also is it necessary to move the filepath to httpsdocs then move the files?

Last edited by dukes (08-18-2017 11:33:14)


regards
dukes

Offline

 

#4 08-22-2017 08:22:20

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Adding HTTPS / SSL to my site

This sounds like a plesk server, which uses separate http/https folders.  We used to (when we ran plesk) alias the https directory to http so that you could serve content out of the http directory via https.  This is just an FYI, because if you're running full SSL, you should be able to do what you've just done and use just the https directory.


Nick Hendler

Offline

 

Board footer