Skip to content

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

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

Sync eng/common directory with azure-sdk-tools for PR 15515#9931
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
Copilot AI review requested due to automatic review settings May 6, 2026 07:30
@azure-sdk azure-sdk requested a review from a team as a code owner May 6, 2026 07:30
@azure-sdk azure-sdk requested a review from heaths May 6, 2026 07:30
@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

This PR syncs eng/common/testproxy assets from azure-sdk-tools PR 15515, updating the development certificate material and adding a helper script/configuration to regenerate the test-proxy TLS certificate chain used for local and CI test-proxy runs.

Changes:

  • Add rotate.sh plus OpenSSL config files (ca.conf, updated localhost.conf) to regenerate the CA + localhost leaf cert and bundle them into a PFX for the test proxy.
  • Update the committed CA certificate (dotnet-devcert.crt) and add a committed leaf certificate (localhost.crt).
  • Add a testproxy/.gitignore to avoid committing generated key/CSR/serial artifacts.

Reviewed changes

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

Show a summary per file
File Description
eng/common/testproxy/rotate.sh New script to generate CA + localhost cert and export a PFX bundle for test proxy usage.
eng/common/testproxy/localhost.crt Adds a checked-in localhost leaf certificate generated by the rotation flow.
eng/common/testproxy/localhost.conf Updates OpenSSL config for the localhost leaf cert (notably CA:false and key usage adjustments).
eng/common/testproxy/dotnet-devcert.crt Replaces the committed CA certificate used for trust/chain.
eng/common/testproxy/ca.conf Adds OpenSSL config for generating the self-signed CA used to sign the leaf cert.
eng/common/testproxy/.gitignore Ignores generated CSR/key/serial files produced during rotation.

Comment thread eng/common/testproxy/rotate.sh
Comment thread eng/common/testproxy/rotate.sh
Comment thread eng/common/testproxy/localhost.crt
@heaths
Copy link
Copy Markdown
Member

heaths commented May 6, 2026

Investigating some potential issues in .NET that may exist elsewhere but don't want to keep these open forever.

@heaths heaths closed this May 6, 2026
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