Support skipping Redis TLS cert verification #6083
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v.2.10.8
Feature type
Change to existing functionality
Proposed functionality
Allow setting
ssl_cert_reqs=None
on the redis client used for Cacheops and Django-RQ.Use case
This is required for using the Heroku-provided Redis instances with Netbox. They force you to use TLS, but don't provide proper certificates. See https://devcenter.heroku.com/articles/heroku-redis#connecting-in-python
Database changes
No response
External dependencies
No response
This is how it could be implemented:
For Django-RQ the option is available as
SSL_CERT_REQS
on the config dict (code change)For Django-Cacheops it seems switching from an url to a kwargs dict for
redis-py
would suffice: https://github.com/Suor/django-cacheops/blob/master/cacheops/redis.py#L103-L107e.g. changing the config block in
settings.py
toThe text was updated successfully, but these errors were encountered: