Skip to content

MDEV-23744: Unable to specify both client and server certificates.#5355

Open
hemantdangi-gc wants to merge 1 commit into
MariaDB:10.6from
mariadb-corporation:10.6-MDEV-23744
Open

MDEV-23744: Unable to specify both client and server certificates.#5355
hemantdangi-gc wants to merge 1 commit into
MariaDB:10.6from
mariadb-corporation:10.6-MDEV-23744

Conversation

@hemantdangi-gc

Copy link
Copy Markdown
Contributor

Issue: The SST TLS options are not role-specific, so a node cannot present a different certificate as donor (TLS client) than as joiner (TLS server), which some environments require.

Solution: In the shared check_server_ssl_config, add role-specific options that override the generic ones: ssl-server-{ca,capath,cert,key} for the joiner and ssl-client-{ca,capath,cert,key} for the donor. Applies to both mariabackup and rsync SST.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@hemantdangi-gc

Copy link
Copy Markdown
Contributor Author

/gemini review

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@plampio plampio self-requested a review July 7, 2026 12:48

@plampio plampio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Issue: The SST TLS options are not role-specific, so a node cannot
present a different certificate as donor (TLS client) than as joiner
(TLS server), which some environments require.

Solution: In the shared check_server_ssl_config, add role-specific
options that override the generic ones: ssl-server-{ca,capath,cert,key}
for the joiner and ssl-client-{ca,capath,cert,key} for the donor.
Applies to both mariabackup and rsync SST.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants