Sync eng/common directory with azure-sdk-tools for PR 15515#46748
Closed
Sync eng/common directory with azure-sdk-tools for PR 15515#46748
Conversation
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
Contributor
There was a problem hiding this comment.
Pull request overview
This PR syncs eng/common/testproxy with the corresponding updates from azure-sdk-tools PR 15515, primarily around rotating and maintaining the Test Proxy dev certificate assets.
Changes:
- Add a
rotate.shhelper to regenerate the CA cert, localhost leaf cert, and PFX bundle used by Test Proxy. - Update the OpenSSL config for the localhost leaf certificate to correctly mark it as a non-CA certificate.
- Add/refresh certificate/config artifacts and ignore generated private-key/CSR/serial files.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| eng/common/testproxy/rotate.sh | Adds a rotation script to regenerate CA/leaf certs and the PFX bundle for the test proxy. |
| eng/common/testproxy/localhost.crt | Adds the (public) localhost leaf certificate used by the proxy cert chain. |
| eng/common/testproxy/localhost.conf | Fixes leaf-cert extensions (notably basicConstraints CA:false) and tidies config formatting. |
| eng/common/testproxy/dotnet-devcert.crt | Updates the (public) CA certificate used for trusting the proxy chain. |
| eng/common/testproxy/ca.conf | Adds OpenSSL config used to generate the self-signed CA cert. |
| eng/common/testproxy/.gitignore | Ignores generated CSR/private key/serial artifacts from certificate rotation. |
Member
|
/azp run python - keyvault |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Member
|
Investigating some potential issues in .NET that may exist elsewhere but don't want to keep these open forever. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#15515 See eng/common workflow