SSL certificate is not installed

I had a problem installing the SSL certificate in IIS, and below is the step before I get the certificate from my certificate authority.

  • Created a private key file using OpenSSL using the command "openssl genrsa -out key_name.key 2048 .

  • The generated .csr file with the command " openssl reqoutout CSR.csr -key key_name.key -new -sha256 .

  • As soon as I generated the CSR file, I provided the same CSR file in CA to get the certificate.

  • I received a certificate in .p7b format, which I converted to .cer format.

  • An installed certificate using the Full Certificate Request option in IIS.

Now the problem is that the newly installed certificate disappears from IIS after the upgrade. I figured out this problem and realized that this is because there is no private key associated with the certificate. My question is, where did the secret key close? I created the CSR using the private key in step 1. Secondly, how do I solve this problem, I still need to install the certificate. Please, help.

+4
source share
1 answer

You did not create a certificate request through IIS Manager. Therefore, you should not use IIS to complete the request.

Instead, you need to use OpenSSL to create the PFX file,

create pfx file from .cer and .pem file

Then you can import it into IIS.

You can read this post for more details.

https://blog.lextudio.com/2015/06/the-whole-story-of-server-certificate-disappears-in-iis-77-588-510-0-after-installing-it-why/

+2

All Articles