[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Digital Certificate
- Subject: Re: [cobalt-users] Digital Certificate
- From: Greg Hewitt-Long <cobaltusers@xxxxxxxxxxxxxxxxxxx>
- Date: Sat Jun 14 06:58:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>OK. I purchased my certificate and I created my new virtual site with
>its own IP address. I pasted the certificate in, it saved it and showed
>the correct details. However, if I browse to http://secure.domain.tld,
>it doesn't change it to https. If I browse to https://secure.domain.tld,
>it wants to use the self signed certificate I created for the main
>domain of the RaQ4r on a totally different IP address.
Edit the /etc/httpd/congf/httpd.conf on your server - edit the virtual host to change to https and restart at apache
Change the lines:
RewriteCond %{HTTP_HOST} !^your.ip.add.ress(:80)?$
RewriteCond %{HTTP_HOST} !^secure.yourdomain.tld(:80)?$
RewriteRule ^/(.*) http://secure.yourdomain.tld/$1 [L,R]
to:
RewriteCond %{HTTP_HOST} !^your.ip.add.ress(:80)?$
RewriteCond %{HTTP_HOST} !^secure.yourdomain.tld(:80)?$
RewriteRule ^/(.*) https://secure.yourdomain.tld/$1 [L,R]
Notice the subtle change between http and https.
Once completed, restart apache using:
/etc/rc.d/init.d/httpd restart
Should change your domain to ONLY be accessible via https.
regards
Greg
>What have I done wrong please?
>
>
>Richard Sidlin
>Help Internet Ltd
>
--
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970) 266-0195 FAX: (970) 266-0158