Skip to content

Return devProxy.crt filename for rootCertificate format=crt - #2087

Open
waldekmastykarz wants to merge 1 commit into
dotnet:mainfrom
waldekmastykarz:fix-root-cert-crt-filename
Open

waldekmastykarz wants to merge 1 commit into
dotnet:mainfrom
waldekmastykarz:fix-root-cert-crt-filename

Conversation

@waldekmastykarz

Copy link
Copy Markdown
Collaborator

Aligns the Content-Disposition filename returned by GET /proxy/rootCertificate?format=crt with the requested format (devProxy.crt instead of devProxy.pem). The content is unchanged (PEM-encoded certificate, which is the common encoding for .crt files).

Kept intentionally minimal to avoid conflicts with the parallel work on #2067.

Closes #2068

Closes dotnet#2068

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@waldekmastykarz
waldekmastykarz requested a review from a team as a code owner November 5, 2026 10:42
Copilot AI balanced review requested due to automatic review settings November 5, 2026 10:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the change aligning the root certificate download filename with the requested crt format.

No open issues 🎉

What changed in this PR

Aligns the root certificate download filename with the requested crt format, keeping the change minimal to avoid conflicts with parallel work.

Changes:

  • Returns devProxy.crt instead of devProxy.pem for GET /proxy/rootCertificate?format=crt.
  • Leaves the PEM-encoded certificate content and content type unchanged.
File Description
DevProxy/​ApiControllers/​ProxyController.cs Updates the root certificate download filename to devProxy.crt.

Review effort: Balanced

This branch has not been deployed

No deployments
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.

GET /proxy/rootCertificate?format=crt returns a file named devProxy.pem

2 participants