Martin
Martin

Reputation: 24308

WCF and authentications requiring certificates?

Can anyone explain to me when a certifate is require using WCF and authentication. From my understanding although i could be way off :-)

basichttp doesn't require a certificate to do authentication is hosted in IIS and using SSL otherwise a certificate is required

All other bindings like netTcpBindings etc require the use of certficate - is this true?

Or does it depend on what type of authentication i am using?

I would really appreciate any info or maybe a table telling me when a certifcate is needed.

I have a number of scenerios i am investigating like hosting in IIS or hosting in WIndows Service..

And i just can't seem to find the info i need

THanks in advance

Upvotes: 0

Views: 97

Answers (1)

Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65361

There are two scenarios where you need a certificate:

  • A server side certificated that is used for SSL. For basichttpbinding, if you are sending a username and password over the network you should use SSL.
  • A client side certificate if you are authenticating clients using certificates.

Other bindings may use machine keys and certificates in the operating system, but you do not need to install a certificate for them to work.

Upvotes: 1

Related Questions