Jump to: navigation, search

SSLEndpoints

Revision as of 21:47, 20 December 2011 by Harlowja (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Created: Tue, 20 Dec 2011 13:45:07 -0800
  • Contributors: Gunther Hagleitner

SSL endpoints

<<TableOfContents()>>

Summary

In order to prevent malicious code or attackers to interfere with the operation of the OpenStack we propose to provide optional encryption and certificate verification via SSL on all endpoints (APIs, message queue & clients, DB).

See also: http://wiki.openstack.org/nova-security-updates

Design

The following enpoints need to have options to enable SSL encryption and verification:

  • EC2/OS API
  • Glance API
  • Message Queue (server)
  • Nova compute (db)
  • Nova compute (message queue, client)
  • Nova scheduler (message queue, client)
  • Nova network (message queue, client)

The following blueprints have already started building ssl support:

Message queue communication

  • Message server can be configured to accept only verified SSL connections (no changes needed): http://www.rabbitmq.com/ssl.html
  • Message clients already support SSL, but need to add certificate and private key to configuration parameters and connection calls

Database

  • mysql server can be configured to accept only SSL connections for OpenStack user (schema change, needs cert, ca, key at startup)
  • mysql client needs to add certificate, key to connection calls - certificate/key needs to be added to configuration parameters

Glance

  • Code review ongoing

EC2/OS API

  • Done in diablo

Expected Code Changes

Diablo branch (may change in essex):


nova/flags.py
nova/rpc.py


Expected Documentation Changes

Dependencies

OpenSSH
Erlang >= R13B
Erlang SSL


Test/Demo Plan

Migration Plan

Default (enable flag missing/off) will remain to be no SSL. No migration necessary.

Unresolved Issues

Notes

Contacts

hagleitn@yahoo-inc.com

Link