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

オープン
#2,085 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@waldekmastykarz がすでに取り組んでいます。

2026年11月5日 から。

  • #2091 @waldekmastykarz による — オープン

評価

この issue はまだ評価されていません。

説明

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

主要言語
C#
スター
841
フォーク
90
平均マージ
2日 10時間
マージ済み PR(30日)
63

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/dev-proxy のほかの issue

dotnet/dev-proxy の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。