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.
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.
精彩评论