Thank you for your support, Anthony.
Let me say what I was trying:
I'm working with vagrant in my development environment. It's annoying
in every error ticket, change http to https and change port number,
too. The solution to create a tunnel, as described in manual, didn't
make sense because I'm in my dev environment. So, I decided to run my
dev server (inside my vagrant box) always in https.
To achieve it, I'm following your instruction and starting the rocket
server this way:
```
$ python web2py.py --nogui -a '<recicle>'
--interfaces='0.0.0.0:8080;0.0.0.0:8443:/home/vagrant/openssl/server.key:/home/vagrant/openssl/server.crt'
```
Note the sequence: key file first, certificate file, second. ;-)
Besides that I had to configure:
- parameters_8443.py with admin password;
- and port forward in Vagrant file;
- routes.py to redirect traffic from http to https.
Here is a blog post about it in pt_BR:
http://aprenda-python.blogspot.com.br/2014/12/admin-do-web2py-funcionando-em-maquina.html
The same translated to en through Google Translator:
https://translate.google.com/translate?sl=pt&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Faprenda-python.blogspot.com.br%2F2014%2F12%2Fadmin-do-web2py-funcionando-em-maquina.html&edit-text=&act=url
On Sun, Dec 7, 2014 at 11:34 AM, Anthony <
abas...@gmail.com> wrote:
> If you pass Rocket an SSL certificate, it will only listen on that
> interface. If you want it to listen on multiple interfaces, you have to use
> the "--interfaces" argument instead. Something like:
>
> python web2py.py -a adminpassword --interfaces
> '0.0.0.0:8000;0.0.0.0:8001:~/openssl/server.crt:~/openssl/server.key'
>
> Then you can use routes.py to re-route, or just do a redirect in your app.
>
> Anthony
>
> On Saturday, December 6, 2014 10:44:32 PM UTC-5, viniciusban wrote:
>>