Skip to content

Use default TLS validation for sync downloads#101

Open
mobasi-team wants to merge 1 commit into
EricZimmerman:masterfrom
mobasi-team:fix/sync-tls-validation
Open

Use default TLS validation for sync downloads#101
mobasi-team wants to merge 1 commit into
EricZimmerman:masterfrom
mobasi-team:fix/sync-tls-validation

Conversation

@mobasi-team

Copy link
Copy Markdown

Summary

  • Remove the custom certificate validation callback from SQLECmd's --sync download path.
  • Let HttpClient use the platform's default TLS certificate validation when downloading the GitHub map archive.

Rationale

--sync downloads the SQLECmd map archive from GitHub and installs updated maps into the local Maps directory. The previous custom validation callback accepted all server certificates, bypassing normal hostname and certificate-chain validation.

Using the default HttpClient behavior preserves the existing sync flow while allowing invalid TLS certificates to be rejected.

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.

1 participant