Skip to content

TLS-enabled Redis configuration: the ssl_cert_reqs is wrongly documented #5988

Description

@NBardelot

See source file: celery/backends/redis.py

The documentation says:

Note that the ssl_cert_reqs string should be one of required, optional, or none (though, for backwards compatibility, the string may also be one of CERT_REQUIRED, CERT_OPTIONAL, CERT_NONE).

But with 'required':

AttributeError: module 'ssl' has no attribute 'required'

It seems that CERT_REQUIRED, CERT_OPTIONAL and CERT_NONE must be used...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions