Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

security

wcf

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.

like image 394
malik Avatar asked Nov 14 '22 11:11

malik


1 Answers

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.

like image 177
Tanner Avatar answered Dec 26 '22 05:12

Tanner