WCF部署问题两则

(1)Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'CurrentUser', FindType 'FindBySubjectName', FindValue 'FeedServiceServer'.

Must put the certificate into LocalMachine like:
makecert -r -pe -n "CN=FeedServiceServer" -ss My -sr LocalMachine -sky exchange

If you run this command in Windows 7, run the cmd as administrator.

(2) The certificate 'CN=FeedServiceServer' must have a private key that is capable of key exchange. The process must have access rights for the private key.

winhttpcertcfg -g -c LOCAL_MACHINE\My -s FeedServiceServer -a ASPNET
winhttpcertcfg -g -c LOCAL_MACHINE\My -s FeedServiceServer -a "NETWORK SERVICE"
posted @ 2011-03-30 09:38  sayo.net  阅读(452)  评论(0编辑  收藏  举报