Skip to content

tls-protocols configuration setting does not accept multiple values #7268

@theDogOfPavlov

Description

@theDogOfPavlov

What do I see?

If I specify a single protocol, the configuration is parsed without error. However, if I specify multiple, then the parsing always fails with a generic error.

What do I expect to see?

The valid combinations of TLS protocol versions should be accepted.

Environment

Ubuntu bionic
Latest stable Redis code, built from source

Steps to reproduce

Single value accepted
tls-protocols TLSv1.2

Multiple values fail
tls-protocols TLSv1.2 TLSv1.3

error in log
Invalid tls-protocols specified. Use a combination of 'TLSv1', 'TLSv1.1', 'TLSv1.2' and 'TLSv1.3'.

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