dotnet core ERR_SSL_VERSION_OR_CIPHER_MISMATCH

If you are getting ERR_SSL_VERSION_OR_CIPHER_MISMATCH when accessing ASP.NET web api project then you need to run the following commands on your machine:

dotnet dev-certs https --clean

dotnet dev-certs https --check

dotnet dev-certs https --check

dotnet dev-certs https

dotnet dev-certs https --trust

Ther terminal will prompt multiple prompts like this:

Click Always Allow for all prompts.

Restart the machine.

The ERR_SSL_VERSION_OR_CIPHER_MISMATCH issue should be fixed now.