Skip to main content

ASP.NET Certificate Issue

When webbrowser does not open the web project and shows error like this: SEC_ERROR_BAD_SIGNATURE. What helps me is this:

PS C:\Users\ppollak> cd 'C:\Program Files (x86)\IIS Express\'
PS C:\Program Files (x86)\IIS Express>  .\IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:44300 -UseSelfSigned