Reputation: 51
I'm currently developping a website with Visual Studio 2010 and IIS Express 7.5 on Windows 7 x64 in a VirtualBox VM.
I have followed this article and made it works like a charm. Working with SSL at Development Time is easier with IISExpress
The problem comes when I shut down my machine and start it back the next day. It doesn't work anymore, I have to redo the whole opertations in order to make it work.
Does anyone has an idea why everything is screwed up each time I restart my machine?
Thanks in advance.
Upvotes: 5
Views: 8648
Reputation: 1
I was having the same issue with my graphic drivers on Windows 10 Pro, and adding the certificate of its programme properties did solve my issue. Try adding the certificate.
Upvotes: 0
Reputation: 194
I had the same problem with a Code-signing private certificate, after reboot it was gone. I found this on ServerFault:
Upvotes: 1
Reputation: 1
Thias was the solution for me:
Delete the certificate from the computer store and import it again. Dont drag and drop it from the user store.
Upvotes: 0
Reputation: 25
Try editing the app.config as an administrator.
The other thing is you VM's hard drive might be writing changes to a read only delta which get's dropped when you restart, hence nothing is saved
Upvotes: 0
Reputation: 12880
I've had this exact problem with full blown IIS 7.5 and Server 2008.
My particular problem came about when moving the server authentication certificate (and associated private key) around (through dragging) in the MMC Certificate Manager.
There's a step in the tutorial you linked to where they ask you to "drag" the certificate from Personal to Trusted Root Certificates. I'd suggest deleting that certificate from the Certificate Manager and importing it directly into the Trusted Root Certificates.
Upvotes: 2