Skip to content

Use TLS when registering node with TLS server config - #5676

Merged
agourlay merged 1 commit into
devfrom
record-tls-address-for-when-adding-peer
Dec 19, 2024
Merged

agourlay merged 1 commit into
devfrom
record-tls-address-for-when-adding-peer

Conversation

@agourlay

@agourlay agourlay commented Dec 18, 2024 •

Copy link
Copy Markdown
Member

This PR forces the usage of TLS when a node is joining a cluster but no URL is provided.

In that case we build manually a peer URI which will be used by raft.rs as peer address.

The following patch makes sure that we use https in the peer address if a TLS server config is set up.

@agourlay agourlay changed the title Use TLS when registering known with TLS server config Use TLS when registering node with TLS server config Dec 18, 2024
@agourlay
agourlay marked this pull request as ready for review December 19, 2024 09:12
@agourlay
agourlay merged commit 6b28b94 into dev Dec 19, 2024
@agourlay
agourlay deleted the record-tls-address-for-when-adding-peer branch December 19, 2024 10:40
@timvisee timvisee mentioned this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants