5

I've created an asp.net web application with a web form called "Main.aspx" in it. I'm trying to run the application over https. Since I have no experiences with SSL, IIS etc. I googled how to achieve this but every solution didn't work for me.

I enabled SSL using the following steps: Enable SSL

My application is now running on https://localhost:59917/.

enter image description here

But if I start my application I get a Firefox error message: "Secure connection failed". So I followed the steps from Scott Gu's Blog Post but it didn't work neither.

Does anyone have experiences in SSL and ASP.net web applications and can help me out?

Community
  • 1
  • 1
Therk
  • 391
  • 6
  • 23

1 Answers1

2

If you followed the instructions, you should have configured your website on the port 443.

You should configure the binding on port 59917

Aboc
  • 237
  • 1
  • 5
  • If I try https: //localhost:443/Main.aspx it ends in a 404 not found error message. – Therk May 18 '17 at 15:16
  • 1
    Did you do the binding part of Scott Gu's Blog Post ? Can you please provide the configuration of your local IIS ? – Aboc May 18 '17 at 15:19
  • Yes I added the binding. But with your answer you pointed me in the right direction. I added the binding on port 443 as you said. I now added a binding on port 59917 and it works now! Thx – Therk May 18 '17 at 15:22