|I created a .Net Web API and I'm trying to host it in IIS on my server which is running 2012 R2. I'm kind of new to setting this up, but it seems pretty simple, or so I thought.
First, in IIS I went into Server Certificates and created a Self Signed Cert. I gave it the name "My Cert" and selected "Personal".
Next, I addd a new Web Site called "My API", set the IP address to 1080, selected HTTPS and seleced the cert I created.
Next, I opened port 1080 on the firewall.
I then clicked Browse *:1080 and the browser opens, but it has a cert error that says
There is a problem with this website's security certificate.
The security certificate presented by this website was issued for a different website's address
I dont understand what it means by "issued for a different website's address", as nowhere did I get asked to give the cert a website address.
I'm guessing I'm doing this wrong somehow. I could use some help.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
modified 24-Jul-22 2:42am.