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

Đang mở
#2,085 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@waldekmastykarz đang làm issue này rồi.

Từ ngày 5/11/2026.

  • #2091 của @waldekmastykarz — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
C#
Star
841
Fork
90
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
63

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dotnet/dev-proxy

Tất cả issue của dotnet/dev-proxy

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.