Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Applying SSL certificate in IIS manager and "The process cannot access the file because it's being used by another process" error

Tags:

iis

ssl

I applied a self-signed SSL certificate in IIS manager to Default Web Site(added the HTTPS binding) and after that when I'm trying to start the web site, I'm getting the following error message: "The process cannot access the file because it's being used by another process. (Exception from HRESULT: 0x80070020) ". But when I remove the HTTPS binding, everything works fine. So, what is the problem? What might have I done wrong?"

like image 702
andrew Avatar asked Dec 27 '11 09:12

andrew


People also ask

How do I enable SSL in IIS?

In Internet Information Services (IIS) Manager, under Connections, expand your server's name, expand Sites, and then select the website on which you want to install the SSL Certificate. In the Actions menu, under Edit Site, click Bindings. In the Site Bindings window, select binding for https and then, click Edit.

Why SSL certificate is not showing in IIS?

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.

How do I generate an SSL certificate in IIS?

In IIS Manager, do the following to create a self-signed certificate: In the Connections pane, select your server in the tree view and double-click Server Certificates. In the Actions pane, click Create Self-Signed Certificate. Enter a user-friendly name for the new certificate and click OK.

Where is the SSL certificate on IIS?

In the Windows start menu, type Internet Information Services (IIS) Manager and open it. In Internet Information Services (IIS) Manager, in the Connections menu tree (left pane), locate and click the server name. On the server name Home page (center pane), in the IIS section, double-click Server Certificates.


1 Answers

Have you tried the Microsoft Support Article that mentions this process error occuring when you try to start a Web site in the Internet Information Services MMC snap-in

like image 200
starskythehutch Avatar answered Oct 07 '22 15:10

starskythehutch