I have recently been trying to make a SSL encrypted Server/Client in C#.
I have followed this tutorial on MSDN, however, it required a certificate to be created for the
To get this to work with WCF it is neccessary to first create a self-signed root authority certificate and then use it to create the certificate for localhost.
I'm thinking the same might apply to your project as well, please have a look at this article How to: Create Temporary Certificates for Use During Development for details.