Current time: 12-24-2024, 10:32 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Howto] Automatic https and http for the same domain
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #1
[Howto] Automatic https and http for the same domain
I had a request from a customer asking for a typical setup with ssl and not ssl virtualhosts
Basically in the default layout, it creates a ssl enabled folder, and the content there can ONLY be viewed under ssl.
What I did was to alter the ispcp-dmn-mngr so this folder gets created and ready to use.
The other part is to alter the apache templates, so it can serve both contents.
NOTE:
This setup will work with ONE certificate for the whole server, so there will be warnings about wrong certicates.
The ssl part is useful only if you want to have a LowCost SSL area. The other part is mostly useful so your customers can access without knowing the ip/hostname of the server.

I put together a page on the wiki explaining the details, it shoud be easy to follow, even on a already installed system.
http://www.isp-control.net/documentation...g_a_domain

Please post any problems suggestions about this in this thread.
This has been tested with 1.0.3.1 and 1.0.4 branch, it might work in older setups too, but it's not recommended.

Cheers.

UPDATE
This is the patched ispcp-dmn-mngr for 1.0.4

.txt  ispcp-dmn-mngr.txt (Size: 105.18 KB / Downloads: 73)

This is the OLD patched ispcp-dmn-mngr for 1.0.3.1

.txt  ispcp-dmn-mngr_1_0_3.txt (Size: 103.92 KB / Downloads: 6)

Notes
There used to be a patch here, but after the bind error in 1.0.3.1 (http://www.isp-control.net/forum/thread-9117.html) I updated the posted ispcp-dmn-mngr to match the stable one.
(This post was last modified: 03-09-2010 12:27 AM by aseques.)
07-20-2009 07:06 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[Howto] Automatic https and http for the same domain - aseques - 07-20-2009 07:06 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)