question

Pathum-8240 avatar image
0 Votes"
Pathum-8240 asked SamWu-MSFT edited

How to install SSL certificates on IIS 10 ?

There are 7 web applications running on IIS 10, And i bought SSL certificates from GoDaddy and got 3 different files 1 .crt file, one .pem file and *_intermediates.p7b file.

I have tried to install the SSL as their guides(url) says, but after completing import SSL certificate, and try to bind the certificate to web application that certificate is automatically removed from SSL Settings.

What i'm doing wrong here ?

windows-server-iis
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SamWu-MSFT avatar image
1 Vote"
SamWu-MSFT answered SamWu-MSFT edited

@Pathum-8240

This issue happens when the imported cert does not have a private key associated. If someone is trying to import a domain level certificate to IIS, then we cannot import if the certificate does not have a private key associated and will cause certificate disappears on refresh.

Solution would be to import the .CER file to your system(from where certificate is requested) personel store and export it with private key. Then copy the .pfx file to required server and import it from server certificate option under IIS.


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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI Thanks for the reply, In which phase is private key is generated. Is it with CSR or SSL certificate itself ?

0 Votes 0 ·

@Pathum-8240 There is a detailed process in this link, you can use it as a reference: certificate-pfx-file-export-import-iis-10.htm.

0 Votes 0 ·