.NET C# Java Javascript Exception


This post is a result of some pretty strange SSL errors that I encountered last weekend.

The scenario:

I tried to setup a development environment for a website that uses a self signed SSL cert. The problem occured right after the start - especially Chrome displayed those wonderful error messages:


The “maybe” solution:

When you google the problem you will see a couple of possible solutions. I guess the first problem on my machine was, that a previous cert was stale and thus created this issue. I later then began to delete all localhost SSL & IIS Express related certs in the LocalMachine-Cert store. Maybe this was a dumb idea, because it caused more harm then it helped.

But: Maybe this could solve your problem. Try to check your LocalMachine or LocalUser-Cert store and check for stale certs.

How to fix the IIS Express?

Well - after I deleted the IIS Express certs I couldn’t get anything to work, so I tried to repair the IIS Express installation and boy… this is a long process.

The repair process via the Visual Studio Installer will take some minutes and in the end I had the same problem again, but my IIS Express was working again.

How to fix the real problem?

After some more time (and I did repair the IIS Express at least 2 or 3 times) I tried the second answer from this Stackoverflow.com question:

C:\Program Files (x86)\IIS Express\IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:44387/ -UseSelfSigned

And yeah - this worked. Puh…

Another option:

Checkout the project settings and try to change the bitness settings (I had once a problem with “x64” instead of “Default”) or try to recreate the virtual directory here:


  • Don’t delete random IIS Express certs in your LocalMachine-Cert store.
  • If you do: Repair the IIS Express via the Visual Studio Installer (the option to repair IIS Express via the Programs & Feature management tool seems to be gone with VS 2017).
  • Try to setup the SSL cert with the “IisExpressAdminCmd.exe” - this helped me a lot.
  • Try to use the VS tooling and checkout the project tab and try out “Create Virtual Directory” or change the IIS Express bitness settings.

I’m not sure if this really fixed my problem, but maybe it may help:

You can “manage” some part of the SSL stuff via “netsh” from a normal cmd prompt (powershell acts weird with netsh), e.g.:

netsh http delete sslcert ipport=
netsh http add sslcert ipport= certhash=your_cert_hash_with_no_spaces appid={123a1111-2222-3333-4444-bbbbcccdddee}

Be aware: I remember that I deleted a sslcert via the netsh tool, but was unable to add a sslcert. After the IisExpressAdminCmd.exe stuff I worked for me.

Hope this helps!

.net web csharp asp.net javascript html5 asp.net-mvc jquery css iis
10 Meinungen
I believe we're all overlooking the perspective that these priests work themselves into. They are not encountering the torment - they are encountering their envisioned life between the agony. Somewhat like how we merrily increment our rest obligation by dithering without end our time on Essay Service UK. That is a demise much slower than self-preservation.
All the basic connection work is somewhat pretty hard to understand but it can be done in a right way possible, Write My Paper have been working very well to see here.
IIS Express is a lightweight and small form of IIS for Australian Assignment Help developers to run and test the sites specifically from Visual Studio. I trust at this point you should use it as your default development web server too.
Excellent Information. Students will get relevant post from best essay writing service reviews sites. New information's are updating here daily.
I am genuinely thankful to the holder of this web page who has shared this informative paragraph here. You have explained it so well. Thanks a lot. Business setup in Dubai
I think this is wonderful I truly appreciate the information shared in this post I am going to bookmark this!
Company Liquidation Services in Dubai
It looks nice. I also have a question for you. how to prepare for a job interview essay? It'll be my first interview and after this, I need to write an essay. But before this, I need a perfect resume. How to make it better?
To be fiar to myself I do not know anything abo9ut this, and in such a way your site is quite helpful for me in the way of presenting good information, which can be the good addition to my essay, which I ordered at qualityessay.com and where you can find only high quality essays
Thank you for posting such a great article! I found your website to be perfect for my needs. It contains wonderful and helpful posts. Keep up the good work! I do not need now to buy short answer questions.
I understand you, too often I have problems that are connected with modern technologies. Very good if you have good friends who are willing to help you, or be able to reach a larger audience on this blog. For anyone interested in this topic on a large scale of information and good services, please contact https://bestessaywriters.org/
Schreibe einen Kommentar:
iis css jquery asp.net-mvc html5 javascript asp.net csharp web .net
Entweder einloggen... ...oder ohne Wartezeit registrieren
Passwort wiederholen