-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Support for Redis TLS #13223
Comments
is there anything new with the upgrade? |
Hi, we have a plan to support TLS for Redis and the database. It might be included in a future release. |
Similar asks here due to setting up Harbor with AWS ElastiCache and Azure Redis. It seems without enabling TLS, ElastiCache doesn't even allow to enable authentication. This potentially means even though there are some level of security to be in a VPC, ElastiCache can be accidentally messed up by others in the VPC. |
Similar ask from our chart users - bitnami/charts#7691 |
Maybe would be possible to use Redis Proxy as a sidecar as a temporary solution.. Something like: |
use stunnel sidecar is another temp option. |
You could also use a socat container to create a TLS tunnel that connects to the Redis endpoint. |
Is there any vision on when this is going to be implemented? |
FYI. trivy support TLS redis from 0.23.0, while trivy adapter does not support TLS redis yet. |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
Still an issue, please do not close. |
This distribution PR hasn't been included in the distribution v2.8.1 https://github.com/distribution/distribution/pull/3161/files |
Another security feature blocked by distribution... (the other one being AWS IAM AssumeRoleWithWebIdentity ) |
Distribution release v2.8.2 from May this year (which came more than a year after v2.8.1) also did not include the mentioned PR. It does not look like this feature will be added anytime soon there. |
Please consider adding this feature as it makes the "supply chain" more robust and secure |
I find it incredible how trivial this oft-requested feature would be to implement, and yet here we are three years later. I wanted to volunteer to implement it, but this issue's thread has suggested that would be a fool's errand. |
i'm using harbor latest helm chart, but i do not know how to configure the TLS option, i'm using AWS Elastic cache for redis. in the helm chart values.yaml file, i only see those options:
|
It's not yet supported yet unfortunately. I assume support is going to be added in the 2.11.0 release. |
oh ok :( thanks for the so quick reply @marevers |
This distribution PR hasn't been included in the distribution v2.8.2, v2.8.3 https://github.com/distribution/distribution/pull/3161/files |
While taking a look into distribution src, found this redisTLS config seems to be ignored in main when migrating from redigo to go-redis by this commit. |
progress:
|
Any Progress/News ? |
As a Harbor instance operator, i want to secure the traffic to Redis instance.
This issue might seem not so pressing when internal Redis is used. However, external managed Redis instances can be used, such as Azure Cache for Redis. Although it is possible to enable non-encrypted port, it is disabled by default; Microsoft recommends enabling TLS.
Now Harbor does not support connecting to SSL/TLS redis endpoints.
go-redis
library supports it. Docker-distribution has a patch for it - distribution/distribution#3161. Chartmuseum has a bugreport about it - helm/chartmuseum#326I would like to be able to provide rediss:// urls or to set
use_ssl=true
option when configuring harbor. The options to provide certificates are also required.The text was updated successfully, but these errors were encountered: