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?

3
  • This is a programming QA site, not an infrastructure one. You should post this on Server Fault instead Commented May 18, 2017 at 15:22
  • 3
    @CamiloTerevinto Since it has something to do with a C# asp.net web application it affects programming. Commented May 18, 2017 at 15:24
  • No, you are not asking how to configure ASP.NET through c#, you are asking how to configure your development server Commented May 18, 2017 at 15:26

1 Answer 1

2

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

You should configure the binding on port 59917

Sign up to request clarification or add additional context in comments.

3 Comments

If I try https: //localhost:443/Main.aspx it ends in a 404 not found error message.
Did you do the binding part of Scott Gu's Blog Post ? Can you please provide the configuration of your local IIS ?
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.