Skip to content

[Security] Check if druid.client.https.validateHostnames can be turned of #372

Open
@sbernauer

Description

@sbernauer

Affected version

nightly

Current and expected behavior

Currently we set druid.client.https.validateHostnames and druid.server.https.validateHostnames to false which imposes a security risk.
We should get rid of it.
Context:

// This is required because the server will send its pod ip which is not in the SANs of the certificates
// TODO TEST TEST TEST!
// Awful!
config.insert(
Self::CLIENT_HTTPS_VALIDATE_HOST_NAMES.to_string(),
Some("false".to_string()),
);

Possible solution

No idea, needs testing

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions