IIS Website works on http but not on https

ANIS 136 Reputation points
2021-07-17T01:53:40.61+00:00

Hello,

My local website works fine with http on my IIS webserver.

I have followed all the requirements to set a https connection :

generate a autosigned certificate
set a binding https and indicate the certificate

115509-image.png

115510-image.png

115479-image.png

But the website return a 404 page when try to access with https :

115574-image.png

Do you have any idea ?

the IIS was installed on a windows 10 with a fonctionnality activation.

Thank you very much for your help.

Windows development Internet Information Services
0 comments No comments
{count} votes

Accepted answer
  1. ANIS 136 Reputation points
    2021-07-17T02:49:38.687+00:00

    I think i have juste resolved the problem but i still dont understand why.

    I have linked the default website with the same certificate and it worked.

    the default webpage appeared.

    and now all the websites work on https.

    115575-image.png

    Do you know why ?

    Thank you for your help.


2 additional answers

Sort by: Most helpful
  1. Sam of Simple Samples 5,546 Reputation points
    2021-07-17T02:31:04.867+00:00

    Have you looked at the developer tools? The Security tab especially. You can get to the developer tools using F12 or through the browser's menus. F12 works in all major browsers. In the Edge menu it is in More Tools.

    0 comments No comments

  2. ANIS 136 Reputation points
    2021-07-17T02:40:56.397+00:00

    Hello,

    this is the informations located in the security tab :

    115592-image.png

    seems that the auto signed certificate works well

    but the console return :

    115601-image.png

    And if I try to access the page with http, all work fine :

    115593-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.