Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memcached with tls doesn't have a notls port open #203

Closed
xek opened this issue Mar 20, 2024 · 3 comments
Closed

Memcached with tls doesn't have a notls port open #203

xek opened this issue Mar 20, 2024 · 3 comments

Comments

@xek
Copy link

xek commented Mar 20, 2024

Most openstack services don't support tls because keystonemiddleware doesn't support TLS (it has it's own encryption), also, horizon doesn't support TLS and fails when TLS is enabled

The way memcached currently runs with TLS enabled:

/usr/bin/memcached -p 11211 -u memcached -m 9932 -c 8192 -Z -o ssl_chain_cert=/etc/pki/tls/certs/memcached.crt -o ssl_key=/etc/pki/tls/private/memcached.key -o ssl_ca_cert=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem -vv

The way it runs in TripleO:

/usr/bin/memcached -p 11212 -u memcached -m 9871 -c 8192 -vv -l 127.0.0.1,192.168.122.100,notls:192.168.122.100:11211,notls:127.0.0.1:11211 -U 0 -X -t 8 -Z -o ssl_chain_cert=/etc/pki/tls/certs/memcached.crt -o ssl_key=/etc/pki/tls/private/memcached.key -o ssl_verify_mode=1

@deshipu
Copy link

deshipu commented Mar 21, 2024

Since Horizon switched the memcached library in use (https://review.opendev.org/c/openstack/horizon/+/891828) it should support TLS for memcached. We might need to adjust the settings to use the correct certs.

@stuggi
Copy link
Contributor

stuggi commented Apr 5, 2024

tls memcached for horizon works for me when using latest operator version which includes openstack-k8s-operators/horizon-operator#311 . the latest openstack-operator right now does not have it. need to wait for the service operator bump to be landed

@stuggi
Copy link
Contributor

stuggi commented Apr 22, 2024

closing this issue. it was addressed in #212

@stuggi stuggi closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants