Skip to content
프로젝트

BorisWilhelms/create-dotnet-devcert

GitHub에서 보기

BorisWilhelms/create-dotnet-devcert has 363 GitHub stars and 74 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-22 17:30 UTC. Last push 2023-04-04.

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

A simple script that creates and trusts a self-signed development certificate for dotnet on Linux distributions.

개발 도구

README.md

Original

create-dotnet-devcert

A simple script that creates and trusts a self-signed development certificate for dotnet on Ubuntu and Arch based distributions.

What does the script do

The script uses openssl to create a self-signed certificate. The certificate will then be imported and trusted at:

  • System certificates - to enable service-to-service communication
  • User nssdb - to trust the certificate in supported application like Chromium or Microsoft Edge
  • Snap Chromium nssdb - to trust the certificate in Chromium if installed via snap
  • Snap Postman nssdb - to trust the certificate in Postman if installed via snap

In addition the certificate will be imported into dotnet so that it will be used as a development certificate in ASP.NET Core.

Prerequisites

  • dotnet-sdk (Version >= 5.0)
  • libnss3-tools
    • ubuntu: sudo apt install libnss3-tools
    • arch: sudo pacman -S nss
    • fedora: sudo dnf install openssl nss-tools

Usage

Simply run the script needed for your distribution.

Ubuntu based distributions: ./scripts/ubuntu-create-dotnet-devcert

Arch based distributions: ./scripts/arch-create-dotnet-devcert

Fedora based distributions: ./scripts/fedora-create-dotnet-devcert

Use the -s to also save the certificate into the home folder so it can be manually imported into other programs.

More info

More information about this can be found on my blog post https://blog.wille-zone.de/post/aspnetcore-devcert-for-ubuntu.

관련 프로젝트 살펴보기

불러오는 중…