7

I need to know how to do Mutual Authentication in c#. I know it is pretty easy in WCF applications. However, I have to do two way SSL authentication from console applciation in C#. I have the two public certificates for client and server.

Any help would be appreciated!

jww
  • 97,681
  • 90
  • 411
  • 885
Anees Deen
  • 1,385
  • 2
  • 17
  • 31

1 Answers1

0

Actually you can use the WCF libraries also in a console application. So you should be able to reuse your existing code.

If you really want do it without WCF, there are examples out there on how to use ssl Client certificates in C#: http://www.example-code.com/csharp/https_upload_with_cert.asp

Martin Rauscher
  • 1,700
  • 1
  • 14
  • 20
  • 1
    Linked answers are discouraged. There should have been an example/synopsis posted. That link is now broken and so now helps no one. – vapcguy Aug 31 '17 at 21:12