Skip to content

dotnet dev-certs not working as intended on Linux, docs could use a notice #23686

@PhilParisot

Description

@PhilParisot

The instructions for

https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-5.0&tabs=visual-studio#ubuntu-trust-the-certificate-for-service-to-service-communication

and

https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-5.0&tabs=visual-studio#trust-https-certificate-from-windows-subsystem-for-linux

unfortunately do not work on Ubuntu LTS 20.04 and I suspect a few other Linux distributions as well. There are two open issues regarding this:

dotnet/aspnetcore#7246

dotnet/aspnetcore#32842

This comment worked as a workaround for me: dotnet/aspnetcore#7246 (comment)

But the docs were a major source of confusion for me because I repeatedly followed the steps and I could not get the certs to be trusted by Chrome and Firefox on Ubuntu 20.04.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 58139

Metadata

Metadata

Assignees

Labels

Pri1Source - Docs.msDocs Customer feedback via GitHub Issuedoc-enhancementseQUESTeredIdentifies that an issue has been imported into Quest.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions