malik
malik

Reputation: 333

How to secure WCF service with public / private key pair without using any certificates

I want to secure my WCF service.

For example if I want to generate public / private key pair without involving any third-party certification authority.

What is the way and method to do it?

Any idea or any other approach.

Upvotes: 5

Views: 1858

Answers (1)

Tanner
Tanner

Reputation: 22733

You can create test certificates using "makecert" commands as shown here. You can bypass certificate validation checks using configuration such as below, although this is not recommended in a production environment:

<authentication certificateValidationMode="None"
                      revocationMode="NoCheck" />

I'd have a good read of the configuration options for different scenarios at this CodePlex link, it will show you the different security options and how to configure them.

Upvotes: 1

Related Questions