Skip to content

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

Description

@waldekmastykarz

Problem

Requesting format=crt returns:

Content-Type: application/x-x509-ca-cert
Content-Disposition: attachment; filename=devProxy.pem

The requested format and the file name disagree, which confused the agent that probed the endpoint (it noted "format=crt returns a PEM file").

Proposal

Align the name with the requested format (devProxy.crt for format=crt). If pem is added as an alias, return devProxy.pem for that one.

Related: #2067

Found while evaluating how coding agents use Dev Proxy: VS Code + GitHub Copilot Chat with Claude Sonnet 5.5, Dev Proxy 4.0.0 on Windows, 5 runs of the task "add a CI script that starts Dev Proxy in the background, starts and stops recording through the API around npm start, and shuts Dev Proxy down through the API".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions