I created self signed certificate for test purposes. I used this post: SSLStream example - how do I get certificates that work? I use code on client like this.
AuthenticateAsClient("testName", null, SslProtocols.Default, false);
and on server:
BeginAuthenticateAsServer(certificate, false, SslProtocols.Default, false, EndAuthenticate, obj);
If I start on same machine where certificate it's ok. But when I move client on other machine I get RemoteCertificateChainErrors.
Does somebody know should I use some "real" certificate or I should add some options to my current?
PS: Cer has All application policies, All issuance policies Pfx has All application policies