Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

WCF Transport Security Hello World Problem

Avatar of Silas2
Silas2 asked on
8 Comments1 Solution1733 ViewsLast Modified:
I'm just trying to get a hello world WCF example running over NetTcp with x509 certificate.
I've created the 2 X Self-Certifiicate on the server (its a remote machine with static IP), one for the root, the other for the Personnel using MakeCert.exe.
I ran the httpcfg command to bind SSL to a port (8001).
I exported them to my client machine.
In the Service config I just put the BaseAddress as the same port I httpcfg'd to and in serviceBehaviours:
            <serviceCertificate findValue="f67f6d74e3160bfec56479402e3a26bf24d6gf55"
                                x509FindType="FindByThumbprint" />
The service seems to run.
In the client I put the
          <behavior name="DoesThisGoAnywhere">
              <clientCertificate  storeName="My" storeLocation="LocalMachine" findValue="Dev Certification Authority"
                                  x509FindType="FindByIssuerName" />
The error I'm getting is 'The client certificate is not provided. Specify a client certificate in ClientCredentials'
I'm trying differnet combinations of the x509findtype, thumbprint etc, but its doesn't seem to help.

Avatar of Mike_Mozhaev

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers