The answer is actually in the Exception. You do not have a client certificate. You define a service certificate for a client certificate using this
<clientCredentials> <serviceCertificate> <authentication certificateValidationMode="None" revocationMode="NoCheck"/> </serviceCertificate> <clientCertificate storeLocation="LocalMachine" storeName="My" findValue="ClientSide" x509FindType="FindBySubjectName"/> </clientCredentials>
But what you really had to do was define a client certificate for the client
<system.serviceModel> <behaviors> <endpointBehaviors> <behavior name="endpointBehavior"> <clientCredentials> <clientCertificate storeLocation="LocalMachine" storeName="My" findValue="ClientSide" x509FindType="FindBySubjectName" /> <serviceCertificate> <authentication certificateValidationMode="None" revocationMode="NoCheck" /> </serviceCertificate> </clientCredentials> </behavior> </endpointBehaviors> </behaviors> </system.serviceModel>
This should at least solve your exception. The client certificate is not provided. Specify a client certificate in ClientCredentials The client certificate is not provided. Specify a client certificate in ClientCredentials .
source share