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
Create email is a users Exchange 2010 maibox
CWA 401.2 Error
How do i use DOS/Run to attach a file and email using mailto: ?
How to overide a Write Conflict
all of a sudden I get a "file not found" when I open a form
Connect to a Crosstab query in Access from Excel
Enter Multiple Entries of same record value
MOSS C# Console application - How do I create a document Library
Select multiple files at a time for uploading in asp.net
Computed Column - Adding to current code