Add support for SSL for XXX-api
Bug #1614596 reported by
hongbin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
High
|
Hieu LE | ||
Zun |
Fix Released
|
High
|
Unassigned |
Bug Description
Devstack generates ssl configuration ("ssl_cert_file", "ssl_key_file", "enabled_
Changed in magnum: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in magnum: | |
assignee: | nobody → Hieu LE (hieulq) |
summary: |
- Add support for SSL for magnum-api + Add support for SSL for XXX-api |
Changed in zun: | |
importance: | Undecided → Medium |
importance: | Medium → High |
status: | New → Triaged |
Changed in zun: | |
assignee: | nobody → He Xin (hxhehx) |
Changed in zun: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
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: server. make_server( host, port, app)
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_
srv.socket = SSLWrapper(..)
How do you think, Hongbin?