I am implementing ADFS authentication in azure but I face the following problem:
An exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.IdentityModel.Services.dll but was not handled in user code
Additional information: ID1024: The configuration property value is not valid.
Property name: serviceCertificate
Error: 'ID1039: The certificate's private key could not be accessed. Ensure the access control list (ACL) on the certificate's private key grants access to the application pool user.
Thumbprint: 'df113454dsf1321(value here I changed the value)''
when I right click on the certificate and then click all task then it not show me the option for Manage Private Keys and gave access to IIS user. How I fix the problem. web.config file contents:
<serviceCertificate>
<certificateReference x509FindType="FindByThumbprint" findValue="dfdsfdfdf(here I changed the value)" storeLocation="LocalMachine" storeName="My" />
</serviceCertificate>
I was getting same issue. The fix is, to allow the AppPool user (NETWORK SERVICE) to read the certificate private key).
Thanks, Shivesh
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With