DotNet: Handling the dev certificate

Go to the terminal and run the following commands:

To check for valid certificates, we can use the following command: dotnet dev-certs https –check (-c | –check)

To clean all HTTPS development certificates from the machine: dotnet dev-certs https —clean (–clean)

To trust the certificate on the current platform: dotnet dev-certs https –trust (-t | –trust)

When –trust is combined with the –check option, it validates that the certificate is trusted.

For other available options, use the help information: dotnet dev-certs https –help (-h | –help)

Leave a Reply

Your email address will not be published. Required fields are marked *