liftoff/GateOne — Issue #2: SSL doesn't work unless started from inside /opt/gateone directory
Author: Phoenix84
Created: 2011-10-13 23:34:20+00:00
State: open

I get SSL errors if I start gateone from any directory other than /opt/gateone.
That means I have to execute:
cd /opt/gateone
./gateone.py

Otherwise SSL errors appear:

[E 111013 16:29:03 ioloop:316] Exception in I/O handler for fd 4
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tornado/ioloop.py", line 309, in start
self._handlers[fd](fd, events)
File "/usr/lib/python2.7/site-packages/tornado/netutil.py", line 319, in accept_handler
callback(connection, address)
File "/usr/lib/python2.7/site-packages/tornado/netutil.py", line 199, in _handle_connection
**self.ssl_options)
File "/usr/lib/python2.7/ssl.py", line 344, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python2.7/ssl.py", line 119, in __init__
ciphers)
SSLError: [Errno 336265218] _ssl.c:347: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib

This occurs with the default SSL certs.