[Deploying Sakai] Forcing HTTPS

Larry Dougher ldougher at windsorschools.net
Tue Apr 12 16:37:41 PDT 2011


Hi Anand,

I fixed it a couple days ago.  Thanks!


Thanks again,


Larry Dougher

Technology Coordinator / ACSP 10.6 / ACMT

Windsor Southeast Supervisory Union



On Mon, Apr 11, 2011 at 10:36 AM, Anand Mehta <anand.mehta at yahoo.com> wrote:

> Hi Larry,
>
> When I go to http://sakai.windsorschools.net/portal it does switch to
> https.
>
>
> Thanks,
> Anand
>
>
> ------------------------------
> *From:* Larry Dougher <ldougher at windsorschools.net>
> *To:* production at collab.sakaiproject.org
> *Sent:* Fri, April 8, 2011 10:45:25 PM
> *Subject:* [Deploying Sakai] Forcing HTTPS
>
> Hi all,
>
> I got SSL working with my keys but I can't get it force https even though I
> changed the url in sakai.properties to https://sakai.windsorschools.net
>
> Here is how I got SSL working.  I didn't have httpd_ssl.conf because I'm on
> a stock OS X server box so I put this in httpd.conf:
>
> ServerName sakai.windsorschools.net
> Listen *:443
> <VirtualHost *:443>
> ServerName windsorschools.net
> DocumentRoot "/var/empty"
> SSLEngine On
> SSLCertificateFile /etc/apache2/certificates/windsorschools.net.crt
> SSLCertificateKeyFile /etc/apache2/certificates/*.windsorschools.net<http://windsorschools.net.ke>
> .key
> SSLCertificateChainFile /etc/apache2/certificates/cagdbundle.crt
> </VirtualHost>
>
> Then, I put this in the bottom of my httpd.conf off of Steve's tutorial:
>
> LoadModule rewrite_module libexec/apache2/mod_rewrite.so
>
> RewriteEngine on
> ReWriteCond %{SERVER_PORT} !^443$
> RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
>
> But it still won't force https when someone goes to
> http://sakai.windsorschools.net/portal  Any ideas?
>
>
> Thanks,
>
>
> Larry Dougher
>
> Technology Coordinator / ACSP 10.6 / ACMT
>
> Windsor Southeast Supervisory Union
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20110412/089f497b/attachment.html 


More information about the production mailing list