Skip to content

Commit

Permalink
Linux dev certs supports .NET 8+ (#33849)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdykstra authored Oct 14, 2024
1 parent 970b696 commit bcd1cf3
Show file tree
Hide file tree
Showing 4 changed files with 1,349 additions and 3 deletions.
6 changes: 4 additions & 2 deletions aspnetcore/security/enforcing-ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to require HTTPS/TLS in an ASP.NET Core web app.
ms.author: tdykstra
monikerRange: '>= aspnetcore-3.0'
ms.custom: mvc, linux-related-content
ms.date: 09/06/2024
ms.date: 10/14/2024
uid: security/enforcing-ssl
---
# Enforce HTTPS in ASP.NET Core
Expand Down Expand Up @@ -470,4 +470,6 @@ In some cases, group policy may prevent self-signed certificates from being trus

:::moniker-end

[!INCLUDE[](~//security/enforcing-ssl/includes/enforcing-ssl6-8.md)]
[!INCLUDE[](~//security/enforcing-ssl/includes/enforcing-ssl6.md)]
[!INCLUDE[](~//security/enforcing-ssl/includes/enforcing-ssl7.md)]
[!INCLUDE[](~//security/enforcing-ssl/includes/enforcing-ssl8.md)]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:::moniker range=">= aspnetcore-6.0 <=aspnetcore-8.0"
:::moniker range="=aspnetcore-6.0"

> [!NOTE]
> If you're using .NET 9 SDK or later, see the updated Linux procedures in the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
Expand Down Expand Up @@ -263,6 +263,7 @@ See [this GitHub issue](https://github.com/dotnet/AspNetCore.Docs/issues/6199).

Establishing trust is distribution and browser specific. The following sections provide instructions for some popular distributions and the Chromium browsers (Edge and Chrome) and for Firefox.

<!-- Uncomment when linus-dev-certs supports .NET 6.0>
### Trust HTTPS certificate on Linux with linux-dev-certs
[linux-dev-certs](https://github.com/tmds/linux-dev-certs) is an open-source, community-supported, .NET global tool that provides a convenient way to create and trust a developer certificate on Linux. The tool is not maintained or supported by Microsoft.
Expand All @@ -275,6 +276,7 @@ dotnet linux-dev-certs install
```
For more information or to report issues, see the [linux-dev-certs GitHub repository](https://github.com/tmds/linux-dev-certs).
-->

### Ubuntu trust the certificate for service-to-service communication

Expand Down
Loading

0 comments on commit bcd1cf3

Please sign in to comment.