Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# wchrisjohnson 12/3/2006 8:22 PM
Hi,

I would like to add a SSL certificate to a client's website in order to lock down a few pages related to ordering of products. We don't do any online payment, we just use the site for orders and accept credit cards if necessary. As such, there are a couple of pages we want to protect.

I don't mind having to secure the entire site with HTTPS if necessary; I'm just interested in whether Cuyahoga will support a SSL cert in this scenario.

TIA...

Chris J
# martijnb 12/4/2006 2:21 AM
wchrisjohnsonI don't mind having to secure the entire site with HTTPS if necessary; I'm just interested in whether Cuyahoga will support a SSL cert in this scenario.

Shouldn't be a problem, although I don't have any real-world experiences with it.
You have to secure the entire site, because it's not possible yet to specify it at the page-level.
# wchrisjohnson 1/31/2007 12:44 AM
Martijn,

I have a Cuyahoga site that has been up and functional for nearly two years now. I recently had an SSL certificate installed by the hosting provider, and they posted a static page on the site that I was able to hit vis SSL (https://...).

In the CMS, I have the Site URL set to the IP address of the site, via HTTP, not HTTPS.

Down in the aliases for the site, I have entered every possible variation of IP address, domain name, etc, all with both http as well as https.

When I try to hit the site via https, I get the following error (usually):
No site found at https://[domain name]

If I try it with the IP address, it throws up a dialog that says the domain name doesn't match the certificate; I acknowledge that and tell it to show me the site anyway. I get the above "No site found..." message. I also get the following error trace:

[SiteNullException: No site found at https://[ip address]:443]
Cuyahoga.Web.UI.PageEngine.OnInit(EventArgs e) +1216
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692

I guess I COULD replace the main site URL with the full domain name, including https; my concern with doing that is that if I hose it up, I could lose access to the site. I guess I could always change it back in the database it the site becomes inaccessible.

Any thoughts as to what might be wrong would be greatly appreciated...

Chris
# wchrisjohnson 1/31/2007 1:05 AM
Got it!

I had to specify the SSL port (443) on the URL; once I did that for either the main site url or any of the secure alliases, it worked fine.
https://[domain name]:443 or
https://[ip address]:443

Whew! Glad that's solved!

Chris
# bobwold 2/14/2007 11:59 PM
wchrisjohnson:
In your implementation, how do you tell one page to run in https and another to run in http? are you able to use the built-in menu, or do you have to manually create links to https://whatever? I would imagine if you manually wrote the link yourself to go the http://whatever, it would be easy enough, but its so nice to use the built in menu stuff.

Did you tweak it? or is there some trick you have in the setup?
# wchrisjohnson 3/1/2007 12:06 AM
In your implementation, how do you tell one page to run in https and another to run in http?

I don't. I have enabled SSL on the site as a whole; all pages run as SSL. I was a bit worried about performance (page load); no problem - all pages on the site seem to load fine.
are you able to use the built-in menu, or do you have to manually create links to https://whatever? I would imagine if you manually wrote the link yourself to go the http://whatever, it would be easy enough, but its so nice to use the built in menu stuff.

Did you tweak it? or is there some trick you have in the setup?

I use the built in menu. Once you have SSL enabled at the root, all the pages inherit the full url, including the HTTPS: instead of HTTP:

I hope this answers your questions! Good luck.