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
set workseet as active then run a macro on other worksheets
Can a property be added to each property in a collection class
TRANSACTION FAILED in Outlook 2007 email
Datediff HALF YEAR?? and dateadd
Access: Gouping Textboxes into frames
Group sum calculated fields (which contain aggregate function) by group
If first character in string is zero, remove it
Simple Update Query
How to unshare Printers & Faxes and Scheduled Tasks
get data from a gridview to a popup window and then update the gridview