[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-21 Thread José Eloy
SOLVED: Niphlod: I copied the web2py folder inside C:\inetpub\wwwroot And then I created a new Web site, with main folder in C:\inetpub\wwwroot\web2py with https and port 443 and with a SSL certificate auto signed and vualá! my site is running. Thanks for the help. -- Resources: -

Re: [web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-20 Thread Richard Vézina
Don't use self-signed certificate, walk the extra mile of creating your own Certificate Authority, which will be self signed, then sign you certificate... That way you will get rid of all browser warning... You can then push by GPO a pk12 file so your user don't even have to handle the certificate

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-20 Thread Niphlod
if you followed that guide, python will be started automatically by IIS. That's part of the beauty of it. On Wednesday, January 20, 2016 at 6:45:55 PM UTC+1, José Eloy wrote: > > Then, How I should run web2py? > > python web2py.py -a 'yourpassword' -i IP > > without port? > > > Regards > --

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-20 Thread José Eloy
Then, How I should run web2py? python web2py.py -a 'yourpassword' -i IP without port? Regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-20 Thread José Eloy
Niphlod: You are right! IIS is now serving my web2py pages! Thanks! A question: If I create a directory under wwwroot (let's say web2pyapps) and move my web2py app, I readed the manual and say this: - move the code to a subfolder named web2pyapps - create a routes.py file with routers =

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-20 Thread José Eloy
Richard: Could you show me how to generate my own Certificate Authority and my own certificate? Regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-20 Thread Niphlod
if you followed the manual (http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS) for deploying web2py behind iis, your app is served by IIS directly on whichever port IIS is configured to listen on. If that port is set to be ssl protected (usually the *:443 binding) then you

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-19 Thread José Eloy
Thanks Niphlod for your answer, sorry by my delay in answering. I was trying running my app using the Rocket Web Server and https. I created the cerfificate as you indicate me and all is working well, but I noted the app is slow returning the html views. I've reading that is better to use

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-19 Thread Niphlod
the web is riddled with examples. (un)fortunately IIS has a much wider adoption than web2py :-P http://weblogs.asp.net/scottgu/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates On Tuesday, January 19, 2016 at 9:44:57 PM UTC+1, José Eloy wrote: > > Thanks Niphlod for your answer,

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-19 Thread José Eloy
Thanks again for the help. I coud create my own certificate, but I have a dude: The standard port for SSL is 443 and my application runs using the port 8001, How I have to configure the port in IIS and web2py? Regards. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-08 Thread José Eloy
Thanks Niphlod for your answer. I'm very newbie creating SSL certificates. How can create my first certificate using OpenSSL in PEM format? Thanks in advanced -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-08 Thread Niphlod
private key openssl.exe genrsa 1024 >> pkey.key self-signed cert openssl.exe req -new -x509 -nodes -sha1 -days 1825 -key pkey.key > cert.cer or, all in one line openssl.exe req -x509 -newkey rsa:1024 -keyout pkey.key -out cert.cer -days 1825 On Friday, January 8, 2016 at 8:19:13 PM UTC+1,

[web2py] Re: Deploying in Windows server and SSL (no IIS)

2016-01-08 Thread Niphlod
if it's an internal app, don't use http . if you need https, you'd better explore a deployment behind iis. rocket can serve https, but you can't tune which algorithm it uses, and by default it uses a weak one. if you still want to go down that road (that IMHO is useless) you need to create a