Hello

I'm trying setting up the pylons server (the one started with paster
serve command) to work in SSL.

I followed and reverified several times all the instructions as
available from pylons book (with extra additional googling). I cannot
get it working although I think all the settings are in accordance
with instructions (included settings in development.ini at
[server:main], the generation of a server.pem file integrating a
signed certificate along with a private key ....)

When I launch the server:

  $ paster serve --reload development.ini

The server starts and I'm asked for the pem pass phrase ( .. Enter PEM
pass phrase:). After entering it I get the following portion of an
error and the server exit:

    HTTPServer.__init__(self, server_address, RequestHandlerClass)
  File "/usr/lib/python2.6/SocketServer.py", line 400, in __init__
    self.server_bind()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 108, in
server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/usr/lib/python2.6/SocketServer.py", line 411, in server_bind
    self.socket.bind(self.server_address)
  File "<string>", line 1, in bind
socket.error: [Errno 13] Permission denied

I'm using pylons 0.9.7

Any suggestion ? I haven't seen detailed documentation on how to
configure (or best way) Pylons in SSL and also on how to serve both
non-secure and secure pages from the same application (actually this
is what I'm aiming to : serving most of the site pages in http and
some critical admin pages in https, but I'm having troubles already
with the basic ssl setting).

Any input is very much appreciated. Have also seen a recent post
related to the @https decorator (but unfortunately no much details
given to be able to easily reply it)

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to