Skip to content

fix: restore TLS certificate validation - #1717

Merged
chagong merged 1 commit into
microsoft:mainfrom
chagong:fix/restore-tls-certificate-validation
Aug 3, 2026
Merged

fix: restore TLS certificate validation#1717
chagong merged 1 commit into
microsoft:mainfrom
chagong:fix/restore-tls-certificate-validation

Conversation

@chagong

@chagong chagong commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove the obsolete https.globalAgent.options.rejectUnauthorized = false workaround from the Adoptium API module.

The mutation disables TLS certificate validation for every default-agent HTTPS request in the shared extension-host process. Current VS Code/Electron versions no longer require the expired-certificate workaround.

Validation

  • npm run build
  • Confirmed the generated extension bundle contains no rejectUnauthorized override

Remove the obsolete process-wide HTTPS agent mutation so extension-host requests reject untrusted server certificates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chagong
chagong merged commit fc92e5e into microsoft:main Aug 3, 2026
37 of 56 checks passed
@chagong
chagong deleted the fix/restore-tls-certificate-validation branch August 3, 2026 03:06
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