C# Core Mac Developer Certificate not found

  • Thread starter Thread starter Mark Ustik
  • Start date Start date
M

Mark Ustik

Guest
After a new installation of C# MacOS IDE, I am not able to run any HTTPS applications

Trying to run any application, I get the following popup message:


HTTPS development certificate was not found

The HTTPS development certificate will be installed and trusted by running 'dotnet-dev-certs https --trust'. Running this command may prompt you for your password to install the certificate on the system keychain.

Do you want to install and trust this certificate?

I say yes and continue

I then get an error ...


CreateWebHostBuilder(args).Build().Run();

"Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.\r\nTo generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.\r\nFor more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054."

I have fully uninstalled the IDE and re-installed, to no effect.

I have tried to use the dotnet commands to re-generate the cert, to no effect.

Affects multiple applications, even original framework samples

Any thoughts would be greatly appreciated

Continue reading...
 
Back
Top