Skip to content

Fix 951 skip ca tls#1086

Open
Samriddha9619 wants to merge 1 commit intopingcap:mainfrom
Samriddha9619:fix-951-skip-ca-tls
Open

Fix 951 skip ca tls#1086
Samriddha9619 wants to merge 1 commit intopingcap:mainfrom
Samriddha9619:fix-951-skip-ca-tls

Conversation

@Samriddha9619
Copy link

What problem does this PR solve?

Issue Number: close #951

Problem Summary:
Issue - 951

What is changed and how it works:
Removed the early return in buildClientConfig and BuildClientTLSConfig to ensure the full TLS config (with certificate hooks) is built even when CA verification is skipped.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Notable changes

  • Has configuration change
  • Has HTTP API interfaces change
  • Has tiproxyctl change
  • Other user behavior changes

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@ti-chi-bot ti-chi-bot bot requested review from djshow832 and xhebox February 26, 2026 00:12
@ti-chi-bot
Copy link

ti-chi-bot bot commented Feb 26, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign djshow832 for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot
Copy link

ti-chi-bot bot commented Feb 26, 2026

Hi @Samriddha9619. Thanks for your PR.

I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enabling skip-ca without certificates make TiProxy unable to connect to PD/TiDB

1 participant