Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created August 13, 2013 20:27
Show Gist options
  • Select an option

  • Save bodepd/6225336 to your computer and use it in GitHub Desktop.

Select an option

Save bodepd/6225336 to your computer and use it in GitHub Desktop.
SSLError: _ssl.c:298: Both the key & certificate files must be specified for server-side operation
2013-08-13 19:35:21 ERROR [keystone.common.wsgi] Server error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 135, in _run
log=WritableLogger(log))
File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 663, in server
client_socket = sock.accept()
File "/usr/lib/python2.7/dist-packages/eventlet/green/ssl.py", line 279, in accept
suppress_ragged_eofs=self.suppress_ragged_eofs)
File "/usr/lib/python2.7/dist-packages/eventlet/green/ssl.py", line 46, in __init__
super(GreenSSLSocket, self).__init__(sock.fd, *args, **kw)
File "/usr/lib/python2.7/ssl.py", line 141, in __init__
ciphers)
@danehans

Copy link
Copy Markdown

Keystone should contain default cert and key files. Can you try setting the cert/key files and seeing if the error goes away:

https://github.com/openstack/keystone/blob/stable/grizzly/etc/keystone.conf.sample#L124-L125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment