You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-dev@incubator.apache.org by Chintana Wilamuna <ch...@gmail.com> on 2009/10/13 06:09:25 UTC

.Net trunk, certification error

Hi,

In the trunk of .Net trader client, I kept getting the following error,

Parser Error Message: ID1024: The configuration property value is not valid.
PropertyName: 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: AF5520A014847A1D2A342F800923B917DF3A74FD

I had imported certs to Trusted People, Personal and Trusted CA
locations. Also, added the Network service to the cert's ACL list.

To solve this I had to change the storeName in web.config from
TrustedPeople to My (line 277 - 280),

        <certificateReference x509FindType="FindBySubjectDistinguishedName"
                              findValue="CN=Trade.Com"
                              storeLocation="LocalMachine"
                              storeName="My"/>

Am I the only one got this error?

Bye,

    -Chintana

-- 
http://engwar.com/

RE: .Net trunk, certification error

Posted by Nick Hauenstein <ni...@quicklearn.com>.
Nope. I got this error as well. I didn't want to change the bits that were there, and didn't want to hunt for the actual certificate, so I just changed the app pool identity to an account that would already have access.

- Nick
________________________________________
From: Chintana Wilamuna [chintanaw@gmail.com]
Sent: Monday, October 12, 2009 11:09 PM
To: stonehenge-dev@incubator.apache.org
Subject: .Net trunk, certification error

Hi,

In the trunk of .Net trader client, I kept getting the following error,

Parser Error Message: ID1024: The configuration property value is not valid.
PropertyName: 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: AF5520A014847A1D2A342F800923B917DF3A74FD

I had imported certs to Trusted People, Personal and Trusted CA
locations. Also, added the Network service to the cert's ACL list.

To solve this I had to change the storeName in web.config from
TrustedPeople to My (line 277 - 280),

        <certificateReference x509FindType="FindBySubjectDistinguishedName"
                              findValue="CN=Trade.Com"
                              storeLocation="LocalMachine"
                              storeName="My"/>

Am I the only one got this error?

Bye,

    -Chintana

--
http://engwar.com/