Repository navigation
Add proposal OS API and OS internal Traffic TLS encryption and PKI - #370
fdobrovolny wants to merge 1 commit into
Conversation
Signed-off-by: Filip Dobrovolny <[email protected]>
407793e to
38bd256
Compare
| ## Introduction | ||
|
|
||
| OpenStack is a platform used for the SCS IaaS layer (Infrastructure as a Service). | ||
| Currently, the deployment is mostly done using [Kolla](https://opendev.org/openstack/kolla-ansible). |
There was a problem hiding this comment.
| Currently, the deployment is mostly done using [Kolla](https://opendev.org/openstack/kolla-ansible). | |
| Currently, the deployment is done via [OSISM](https://github.com/osism/) which makes heavy use of [Kolla](https://opendev.org/openstack/kolla-ansible). |
|
|
||
| OpenStack is a platform used for the SCS IaaS layer (Infrastructure as a Service). | ||
| Currently, the deployment is mostly done using [Kolla](https://opendev.org/openstack/kolla-ansible). | ||
| This ADR document current status of Kolla in regard to end-to-end TLS encryption of selected OpenStack services shown below. |
There was a problem hiding this comment.
| This ADR document current status of Kolla in regard to end-to-end TLS encryption of selected OpenStack services shown below. | |
| This ADR documents the current status of Kolla in regard to end-to-end TLS encryption of selected OpenStack services shown below. |
|
@artificial-intelligence can you read this and share your thoughts? |
artificial-intelligence
left a comment
There was a problem hiding this comment.
I'll add more remarks later.
Libvirt TLS is not discussed at all, so I would really at least like to see a paragraph about it.
I'll also need to check if we are missing other important services.
One thing coming to my mind is e.g. nonvnc transport encryption via vencrypt and binding of the communication channel to the novnc proxyserver, as is discussed here:
|
|
||
| The communication between external clients and the OpenStack services is crucial. It needs to be secured to prevent data leakage and unauthorized access as this data often travels across the open internet, is highly susceptible to interception, and has considerable potential for misuse. | ||
|
|
||
| Kolla, out of the box, provides the ability to encrypt external traffic using a HAProxy. [Details](https://docs.openstack.org/kolla-ansible/latest/admin/tls.html#tls-configuration-for-internal-external-vip) |
There was a problem hiding this comment.
we should probably switch these URLs to stable releases and not use latest here, because the latest link might change at any point in time and result in broken links.
the current latest link would be:
| Kolla, out of the box, provides the ability to encrypt external traffic using a HAProxy. [Details](https://docs.openstack.org/kolla-ansible/latest/admin/tls.html#tls-configuration-for-internal-external-vip) | |
| Kolla, out of the box, provides the ability to encrypt external traffic using a HAProxy. [Details](https://docs.openstack.org/kolla-ansible/2023.1/admin/tls.html#tls-configuration-for-internal-external-vip) |
|
|
||
| The communication from within the OpenStack is the second most vulnerable communication. This kind of communication usually serves to manage resources from CI/CD tools or services such as the SCS KaaS layer. For the attacker to gain access, they can intercept this kind of communication, for example, from a compromised ci build. | ||
|
|
||
| Kolla, out of the box, can encrypt internal traffic using a HAProxy. [Details](https://docs.openstack.org/kolla-ansible/latest/admin/tls.html#tls-configuration-for-internal-external-vip) |
There was a problem hiding this comment.
see above:
| Kolla, out of the box, can encrypt internal traffic using a HAProxy. [Details](https://docs.openstack.org/kolla-ansible/latest/admin/tls.html#tls-configuration-for-internal-external-vip) | |
| Kolla, out of the box, can encrypt internal traffic using a HAProxy. [Details](https://docs.openstack.org/kolla-ansible/2023.1/admin/tls.html#tls-configuration-for-internal-external-vip) |
| 8. Heat | ||
| 13. OpenVSwitch | ||
|
|
||
| Only RabbitMQ is not currently supported. |
There was a problem hiding this comment.
there is interest in adding an internal CA for rabbitmq and libvirt TLS support, see:
the problematic part currently is, choosing the appropriate CA software, which has many challenges, as can be seen in the linked document where we evaluated various alternatives.
|
|
||
| Only RabbitMQ is not currently supported. | ||
|
|
||
| [Details](https://docs.openstack.org/kolla-ansible/latest/admin/tls.html#back-end-tls-configuration) |
There was a problem hiding this comment.
| [Details](https://docs.openstack.org/kolla-ansible/latest/admin/tls.html#back-end-tls-configuration) | |
| [Details](https://docs.openstack.org/kolla-ansible/2023.1/admin/tls.html#back-end-tls-configuration) |
|
|
||
| ##### Memcached | ||
|
|
||
| Memcached does support TLS; however, this support is only [experimental](https://github.com/memcached/memcached/commit/ee1cfe3bf9384d1a93545fc942e25bed6437d910), and custom build binaries are needed. For our use case, this is a no-go. |
There was a problem hiding this comment.
so what do we do with this?
| Kolla currently does not support TLS encryption. | ||
|
|
||
| Note: We had issues with `oslo.cache` connecting via TLS to redis, minor upstream change might be needed. | ||
|
|
There was a problem hiding this comment.
I miss a paragraph about secure libvirt live migration:
|
another service - which is used in SCS - which is not covered here is cloudkitty, mostly used for billing purposes afaik. see e.g. this commit to enable internal TLS usage, but the cert is not trusted during bootstrap, which might or might not be a problem: In general I would advice to go through each openstack service one-by-one and make a detailed review if each service uses any networking and what is transmitted via which network channels and which of these are already encrypted and if not why not. So I don't know if this was already done and the above mentioned services where just missed - this would bring up the interesting question why they where missed - or if this has just not happened. I would strongly encourage to do this, if it hasn't happened yet, because otherwise we have no complete picture and the work done here might be incomplete and ultimately lead to a false sense of security by suggesting that everything is encrypted when it really isn't. I hope this helps, thank you all for all the work put into this so far! |
SovereignCloudStack/issues#457