PDA

View Full Version : Keyset does not exist (WCF, SSL Error)


Maria
02-16-2008, 10:01 AM
I host my application on discount.asp. And my WCF not work. Please see my Error:

http://www.healthbucket.com/HealthbucketWCF/wcfUser.svc



I think there are two errors:
1. CryptographicException: Keyset does not exist
2. The certificate 'CN=www.healthbucket.com, OU=Domain Control Validated - RapidSSL(R), OU=See www.rapidssl.com/resources/cps (c)08, OU=GT10747045, O=www.healthbucket.com, C=IL' must have a private key that is capable of key exchange. The process must have access rights for the private key.]

WCF Web Config Part:



<serviceCredentials>


<serviceCertificate findValue="www.healthbucket.com" storeLocation="LocalMachine"


storeName="My" x509FindType="FindBySubjectName" />


<userNameAuthentication userNamePasswordValidationMode="Custom"


customUserNamePasswordValidatorType="UsernameValidator, App_code" />


</serviceCredentials>


(I think It's ok:)

In my computer it's work, by I think I get something like that, and I give access rights to:
C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
and on my computer it's work without any problem.

Why it's not work here?

raymondp
02-20-2008, 07:26 AM
Was the RSA key ever installed on the web server for your account?

rcp
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)