You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9398e2c
Browse filesBrowse the repository at this point in the historyBrowse files
The .NET `dotnet dev-certs` command that is part of the .NET SDK supports generating a development certificate on Linux [to some extent](https://learn.microsoft.com/en-us/aspnet/core/security/enforcing-ssl#linux-specific-considerations).
4
8
5
9
This repo contains a .NET tool that supports additional distributions. Because the tool uses a CA-signed development certificate, the local HTTPS endpoint is trusted by a broader part of the system (browsers, tools, ...).
6
10
7
-
# Using
11
+
### Sponsoring
12
+
13
+
linux-dev-certs is open source and free to use under the MIT license. If your organization depends on it, please consider [sponsoring its maintenance](https://github.com/sponsors/tmds).
14
+
15
+
This isn't a support contract or a license fee — the source stays open and the rules stay simple. Sponsoring is a small, predictable way to help sustain the work that goes into bug fixes, security updates, and new features.
16
+
17
+
## Using
8
18
9
19
**note** the tool uses `sudo` to update the system CA store and install required system tools.
10
20
@@ -17,7 +27,7 @@ You can add the `--no-deps` argument to stop the tool from installing system too
17
27
18
28
If you get an error saying _Could not execute because the specified command or file was not found._, try adding the .NET tools folder to PATH: `PATH=$PATH:~/.dotnet/tools`.
19
29
20
-
# Supported distros
30
+
##Supported distros
21
31
22
32
- Fedora and derived (RHEL, AlmaLinux, ...)
23
33
- Debian and derived (Ubuntu, ...)
@@ -31,6 +41,6 @@ Limitations:
31
41
- Ubuntu browsers are packaged as snaps. Snaps do not use system certificates. If the user uses a snap-based Firefox, the CA certificate is added to its certificate store. Other browsers are (currently) not configured.
32
42
- On gentoo, binary versions of browsers do not support system certificates. If the user uses a binary-based Firefox/LibreWolf, the CA certificate is added to its certificate store. Other browsers are (currently) not configured.
33
43
34
-
# How it works
44
+
##How it works
35
45
36
46
To work across a range of distro applications, the tool generates a CA certificate which is added to the system store. This CA certificate is used to create an ASP.NET Core developer certificate that will be picked up by ASP.NET Core. The private key of the CA certificate is not stored and therefore it can not be used to sign additional certificates.
0 commit comments