Microsoft
Software
Hardware
Network
Question : WCF Certificates
I need some clarity on the function of certifactes in WCF. I have a WCF service (hosted in IIS) and I want to know specifically how the certificates are working and how if I am authenticating properly. First I have a service certificate configured (test cert for now). I have the same certificate installed on both the server and the client in the LocalMachine>Trusted People certificate store. In the client app.config file I simply have the identity configured as the name of the certificate (tempCert)...identically to the way the identity is configured on the server. What I am unsure of is how....exactly this is working. Given that the same certificate is installed on both machines does that mean the on the client side the public key is used and on the server side that the private key is used? I don't actually have to do anything...just ensure that the certificate on either end is installed and that it has a valid certificate authority? It appears to work...but given my lack of experience with certificates just seems to easy. Is there something I am missing?
My service's ServiceModel configuration is as follows in the web.config...Thanks for any input:
contract="Contracts.Traini
ng.Contrac
t.IGreetin
gs">
ults="fals
e"/>
auditLogLocation="Applicat
ion"
suppressAuditFailure="true
"
serviceAuthorizationAuditL
evel="Fail
ure"
messageAuthenticationAudit
Level="Fai
lure"/>
storeLocation="LocalMachin
e"
storeName="TrustedPeople"
x509FindType="FindBySubjec
tName" />
Mode="Cust
om" customUserNamePasswordVali
datorType=
"Services.
Training.S
ervice.Sam
pleAuthent
icator, Services"/>
Answer : WCF Certificates
Question PAQ'd, 500 points not refunded, and stored in the solution database.
Random Solutions
4 powerhouse servers and sharepoint
Jet Reports Error in Navision
Certificate for WPF application
Compiler error CS0122 ...inaccessible due to its protection level
LSASS.EXE Shuts down PC
Microsoft, Sharepoint Redirect user to subsite at logon
Can't change invoice form in Microsoft Accounting Express 2007?
Excel dollar amount to text, zero fill to left, no decimal, respect 2 positions for cents
Have the report showing correctly, now what?
run regsvr32.exe on Windows 7