Remote access appadmin

224 views
Skip to first unread message

jw

unread,
Oct 8, 2012, 11:57:15 AM10/8/12
to web...@googlegroups.com
Hi!

I'm getting desperated about this issue.
The server is running fine over http and in the "normal" mode on an WinXP machine. I'm running it on 8000 and on 443.
I'm trying to access the appadmin page over https and 443 but I only get the message: 'Admin is disabled because insecure channel' from the access.py
I tried to manipulate the access.py, but with no success.

I googled many hours and searched this community, but I don't have any glue how to do it.

https://groups.google.com/forum/#!searchin/web2py/https$20admin/web2py/R4POWe9cL0M/nLChrih2Wl4J - didn't work

http://mdp.cti.depaul.edu/AlterEgo/default/show/68 - Invalid Request

https://groups.google.com/forum/#!searchin/web2py/remote$20admin/web2py/s0UYspTgQkk/OwuTZCx27BMJ - Is only for Linux machines, I guess

Does anyone have a advice for me what to do? The server is located on a location, where I have only access from time to time. So I really need a remote access.
It is not that important for me, that the connection is absolutly secure. Access is more important.

Thank you very much in advance!

Jens

Massimo Di Pierro

unread,
Oct 8, 2012, 12:57:26 PM10/8/12
to web...@googlegroups.com
Have you setup https? Created certificates... told web2py where certificates are?

Massimo

Rufus

unread,
Dec 22, 2012, 11:02:27 PM12/22/12
to web...@googlegroups.com
I started up a brand new install of the latest stable web2py on my laptop:

Version 2.3.2 (2012-12-17 15:03:30) stable

Running on my home network @ 192.168.1.68:8000

I can open Safari on my iphone and enter:

http://192.168.1.68:8000

and get the welcome screen for Web2py.    If I press the "administrative interface" I get the message:

Admin is disabled because insecure channel.

Which is fine, but when I try:

https://192.168.1.68:8000

I get a safari error message:

Cannot Open Page
Safari cannot open the page
because it could not establish a
secure connection to the server.

Okay, so how do I create the required certificates and install them
on web2py and the iphone?




Massimo Di Pierro

unread,
Dec 22, 2012, 11:33:29 PM12/22/12
to web...@googlegroups.com
Follow up to step 4

Then you will have the server.crt and server.key files. Run web2py -h for instructions on how to use them.

Massimo
Reply all
Reply to author
Forward
0 new messages