
|
View Full Version : SSL Setup
ClubHouse Hosting 07-22-2004, 03:21 PM Not sure if this is the right place for this, if not, mods please move.
I bought an SSL cert for www1.mydomain.com, I installed it through WHM and all seems well. I then created a A record in my dns zone so www1 points to my main IP. What I'm essentially trying to do is get it so http://www.mydomain.com and https://www1.mydomain.com both show the same thing, one is secured and one is not.
if I go to www1, opera displays the site but the lock is not there in the browser, Internet Explorer however shows the lock, but will not display the page.
Can anybody help me out with this? TIA
alexmue 07-22-2004, 03:27 PM a little odd that 2 browsers act different?
it would help to know the domain to have a look.
1.) did you restarted apache after installing it?
2.) are u sure that no other certificates (i.e. selfsigned) are assigned to the same IP within apache config file?
ClubHouse Hosting 07-22-2004, 03:32 PM Thanks for the reply, the domain is clubhousehosting.com
1.) I have not restarted apache, I will try that now
2.) I'm pretty sure there isn't... I looked in httpd.conf.
ClubHouse Hosting 07-22-2004, 03:34 PM No luck restarting httpd
alexmue 07-22-2004, 04:14 PM you always must resart apache when making changes to httpd.conf.
the certificate works.
the problem why the encryption gets corrupted is in your html-code:
u use paths with url:
like:
<a href="http://www.clubhousehosting.com/component/option,com_frontpage/Itemid,1/"
in your html.
so while page is loaded encryption gets bronken by loading unsecure stuff.
u must change this to path without url, like:
<a href="/component/option,com_frontpage/Itemid,1/"
also your images gets loaded unencrypted. (thats why already at the mainsite it gets corupted.
there must be also some reason in the html
maybee the line <base href="http://www.clubhousehosting.com/" /> ?
remove that.
my knowleage about html is not so good, so you must resarch yourself what u need to change so that images get loaded encrypted
ClubHouse Hosting 07-22-2004, 04:20 PM I thought things like that caused the "there are both secure and insecure items blah blah..." error. I didn't think it would stop the whole page from displaying.
I'll look into what you said, thanks for taking the time to look, it's much appreciated.
alexmue 07-22-2004, 04:22 PM actally with my browser (firefox) the html is loaded encrypted (with lock) first when unsecure images come, the lock gets broken.
i dont see why you say the page gets not desplayed?
it gets desplayed with me
ClubHouse Hosting 07-22-2004, 04:33 PM Opera displays it, with an open lock, IE just shows a blank page.
ClubHouse Hosting 07-22-2004, 04:42 PM I've alomost got it working thanks to you alex, I fixed the paths for my images and removed the base href, now mod_rewrite doesn't work properly... but at least I'm getting somewhere now, thanks again for you help.
alexmue 07-22-2004, 04:47 PM well IE is crap anyway, so dont wonder when it shows blank pages :D
i asume the open lock at opera is due of the mixed content.
like at my browser, while html is loaded the lock is closed as soon as unencrypted images come it goes open.
i say you use a 256bit-encryption certificate
maybee IE only supports 128 bit encryption.
actually i have no idea whats up with IE, because i dont use IE
alexmue 07-22-2004, 04:52 PM you still use unencrypted image:
http://www.trendmicro.com/syndication/images/pb_trend_white.gif
which opens the lock
ClubHouse Hosting 07-22-2004, 04:54 PM I don't use IE either, just opera. But we've got to test in all.
I've gotten some pages to show in both browsers, so I know IE can do it. I've got to go through my code and clean it up. That's what I get for using a CMS :)
alexmue 07-22-2004, 04:57 PM well urgent download firefox :)
its the best browser.
and with it you site looks partially ugly (text goes into image) :P
ClubHouse Hosting 07-22-2004, 05:00 PM Strictly Opera for me... but I guess anything besides IE is best :)
|