Comment 1 for bug 1614596

Revision history for this message
Hieu LE (hieulq) wrote : Re: Add support for SSL for magnum-api

Currently we are using wsgiref simple_server and this does not support either SSL or multi-process. For supporting SSL in m-api service, IMO there are 2 ways for handling this:
1. Remove wsgiref simple_server and use another module such as werkzeug.
2. Use wsgiref simple_server and wrap the socket of server by SSL. For e.g:
srv = simple_server.make_server(host, port, app)
srv.socket = SSLWrapper(..)

How do you think, Hongbin?