views:

71

answers:

2

I have a certificate installed in windows server 2003

The path I can see from MMC is: Certificates(Local Computer)/Personal/Certificates

I want to configure it in my wcf config. How do I know what the storeName is?

This is what I get so far in my wcf config

<serviceCertificate findValue="certificate.example.com" storeLocation="LocalMachine" storeName="???" x509FindType="FindBySubjectName" />
A: 

Try storeName="My", that's the usual value.

As far as makecert commands go (like below):

makecert -sk MyKeyName -iv RootCaClientTest.pvk -n "CN=tempClientcert" -ic RootCaClientTest.cer -sr currentuser -ss my -sky signature -pe

The "-ss specifies the store name for the certificate. 'My' is the personal store location of the certificate."

See the Enable Certs on the Service Section for more details.

Tanner
A: 
<serviceCertificate findValue="xxxxx" storeLocation="LocalMachine" x509FindType="FindByThumbprint" />

I ended up using 'FindbyThumbprint', my service can find the certificate now.

To get the thumbprint of your certificate: http://msdn.microsoft.com/en-us/library/ms734695.aspx

crocpulsar