Add `devproxy cert export` to write the root certificate to a file

Aperta
#2,085 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@waldekmastykarz ci sta già lavorando.

Dal 5/11/2026.

  • #2091 di @waldekmastykarz — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

work in progress

Problem

To trust Dev Proxy without installing its certificate system-wide, which is typical in CI, scripts need the root certificate as a PEM or CRT file. Today the options are:

  • GET /proxy/rootCertificate?format=crt, which requires a running instance and the API token,
  • openssl pkcs12 on rootCert.pfx, which is what the CI/CD docs show.

The cert command has only ensure and remove.

Proposal

Add devproxy cert export [--format pem|crt|der] [--output <file>]. It writes the public root certificate (creating the root if needed), works without a running instance, and prints the path. Reference it in the CI/CD and Node.js docs.

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".

Lingua principale
C#
Stelle
841
Fork
90
Merge medio
2g 10h
PR unite (30g)
63

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dotnet/dev-proxy

Tutte le issue di dotnet/dev-proxy

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.