Re: [web2py] Re: Restful API with HTTPS and authentication

2016-10-11 Thread Keith Phillips
YES! This was the solution for me as well. Thanks! On Tuesday, September 17, 2013 at 3:31:14 AM UTC-7, Fredrik wrote: > > It turns out I needed to add this to the Apache config: > *WSGIPassAuthorization > On* > > With the line added everything works well. I couldn't find any > documentation o

Re: [web2py] Re: Restful API with HTTPS and authentication

2013-09-17 Thread Fredrik
It turns out I needed to add this to the Apache config: On Tuesday, September 17, 2013 11:23:00 AM UTC+2, Michele Comitini wrote: > > Fredrik, > > You should be able to use http basic authentication on ssl. > You can also use x509 auth if you want to use client side certificates > (still using w

Re: [web2py] Re: Restful API with HTTPS and authentication

2013-09-17 Thread Michele Comitini
Fredrik, You should be able to use http basic authentication on ssl. You can also use x509 auth if you want to use client side certificates (still using web2py auth_* tables). I do not understand what is the exact error on your client. Can you post it? mic 2013/9/17 Fredrik > Hi Larry, > > t

[web2py] Re: Restful API with HTTPS and authentication

2013-09-17 Thread Fredrik
Hi Larry, thanks for the quick reply. It might have something to do with the certificate. Me calling it a production server is actually not totally correct, it's more of a staging server, and therefore the SSL certificate does not match the domain name. Using basic auth was more of a way to fi

[web2py] Re: Restful API with HTTPS and authentication

2013-09-16 Thread Larry Weinberg
I'm doing exactly that and not running into troubles. Could it be something about your SSL certificate? If it's not a well trusted certificate sometimes you need to install it on the client side. Does it match the domain name you are calling? I test my server with the following python code and I