Unable to find SSL Certificate option in IIS Binding dialog

Jenifer Rajendren 6 Reputation points
2023-05-19T14:02:28.9066667+00:00

I had recently moved to a new windows 11 laptop, where I am setting up my asp.net local IIS website instance. I had imported the required SSL certificate which I am able to view in the Server Certificates as here :

User's image

When I try to create a new website and bind to the SSL certificate, I am unable to find the SSL certificate option at all in the dialog. Any idea?
It looks like as below:

User's image

Thanks in advance

Windows development Internet Information Services
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2023-05-22T07:12:25.41+00:00

    @Jenifer Rajendren

    • Make sure the certificate you added to "Server Certificates" is the one you created a "Certificate Request" for. If you add a certificate that wasn’t requested in "Server Certificates", it won’t show up in IIS binding window even if it does in "Server Certificates" list
    • Make sure there is a private key in the certificate (steps are below) 

    Check if the certificate has a private key:

    • Open mmc. Add Certificates for Computer account
    • A "key image" should be on the certificate image. You can also check it by double clicking the certificate

    If the certificate doesn’t have a private key, run the command below.

    certutil -repairstore my [thumbprint]
    

    You should see CertUtil: -repairstore command completed successfully message. Close IIS Manager and open it again. Then check if the certificate appears in the binding window.

    More information you can refer to this link: Certificate is missing in IIS binding window.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Lex Li (Microsoft) 6,037 Reputation points Microsoft Employee
    2023-05-23T18:14:38.2233333+00:00

    In the screen shot you shared, you were editing an HTTP site binding, so no doubt you couldn't associate a certificate.

    Did you try to add a new site binding and there choose HTTPS as protocol type? It can be done in step 5 https://learn.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/site/bindings/binding#how-to-add-binding-information-to-a-site


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.