Error when adding SSL certificate for WebSite binding in IIS

5

When I try to add https binding for my site in IIS I select Binding menu, then certificate that I want to use from drop down list and after I click OK I got an error

Error during operation - A device attached to the system is not functioning (Exception from HRESULT: 0x8007001F)

I've tried different certificates also checked that private keys are exportable

For IIS Host I use Windows 10 Pro 1803 and IIS 10.0.17763.1

UPDATE 1

I've also tried adding SSL certificate with

netsh http add sslcert 127.0.0.1:8035 certhash=hash appid={guid fo appid}

This approach also returned an error

SSL Certificate add failed, Error: 31 A device attached to the system is not functioning

iis
https
ssl-certificate
asked on Stack Overflow Nov 21, 2018 by Anton • edited Nov 22, 2018 by Anton

2 Answers

6

I've updated cryptography service provider (CryptoPro CSP in my case) for a newer version and rebooted the system and error magically gone away

answered on Stack Overflow Nov 22, 2018 by Anton
4

Had the same problem with CryptoPro CSP v4.0.9944. As a consequence, was forced to delete CryptoPro CSP, choose certificate in IIS and install again.

answered on Stack Overflow Mar 12, 2019 by Anton Polkanov

User contributions licensed under CC BY-SA 3.0