Skip to content

Sync eng/common directory with azure-sdk-tools for PR 15515#49069

Open
azure-sdk wants to merge 2 commits intomainfrom
sync-eng/common-two-certs-15515
Open

Sync eng/common directory with azure-sdk-tools for PR 15515#49069
azure-sdk wants to merge 2 commits intomainfrom
sync-eng/common-two-certs-15515

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#15515 See eng/common workflow

heaths added 2 commits May 6, 2026 06:37
Rust's default HTTP stack - reqwest - does not support a self-signed TLS certificate.
Instead, we split the CA out while retaining the old dotnet-devcert.crt public key PEM.
dotnet-devcert.pfx is still the key pair for the server TLS certificate, but is signed by the separate CA.

This should require no code changes to other languages' test-proxy implementations.

Relates to Azure/azure-sdk-for-rust#4345
@azure-sdk azure-sdk requested a review from a team as a code owner May 6, 2026 07:31
@azure-sdk azure-sdk requested review from Copilot and heaths May 6, 2026 07:31
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels May 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Synchronizes eng/common/testproxy assets with the upstream azure-sdk-tools change set (PR 15515), primarily around how the test proxy’s localhost TLS materials are defined and rotated.

Changes:

  • Adds a rotate.sh helper to regenerate the CA + localhost leaf cert and bundle them into a PFX for test proxy usage.
  • Introduces a dedicated CA OpenSSL config (ca.conf) and updates localhost.conf to correctly generate a non-CA leaf certificate.
  • Updates the checked-in public certificate files and adds a local .gitignore for generated key/CSR/serial artifacts.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
eng/common/testproxy/rotate.sh Adds a script to regenerate CA/leaf certs and produce the PFX bundle used by the test proxy.
eng/common/testproxy/localhost.crt Adds/updates the checked-in localhost leaf public certificate.
eng/common/testproxy/localhost.conf Updates the OpenSSL config to generate a proper leaf cert (CA:false) and clarifies comments/formatting.
eng/common/testproxy/dotnet-devcert.crt Updates the checked-in CA public certificate used for trust installation.
eng/common/testproxy/ca.conf Adds an OpenSSL config for generating the self-signed CA certificate.
eng/common/testproxy/.gitignore Ignores generated private keys, CSRs, and OpenSSL serial files in this directory.

Comment thread eng/common/testproxy/ca.conf
Comment thread eng/common/testproxy/rotate.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants