Hello all I've knocked up a WCFservice and a client. I also have a class to validated X509 certificates.
Here is a snippet of the Web.config file of the service:
<behavior name="HelloWorldWFC2.Service1Behavior"> <serviceCredentials> <serviceCertificate findValue="Service" x509FindType="FindBySubjectName" storeLocation="CurrentUser" storeName="My" /> <clientCertificate> <authentication certificateValidationMode="Custom" customCertificateValidatorType="type" /> </clientCertificate> </serviceCredentials> </behavior>
But I don't know where to handle the receiving of certificates? I assume there is something I specficially have to overwrite because apparently not handling them allows anything to connect etc. etc.
Any help most appreciated :)