Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Web API with x509 security certificate

I'm going to use MembershipReboot for my asp.net web api authentication and I'm supposed to implement X509 Certificate.

There is an article in msdn about How to: Secure a Service with an X.509 Certificate, which is for WCF services that uses ServiceHost class. So the question is how to achieve this in asp.net web api services? Is it possible?

like image 353
Ashkan Avatar asked Aug 13 '13 09:08

Ashkan


Video Answer


1 Answers

There are some "prerequisites" to work with SSL that is:

  • Setting up IIS to work with the SSL

You may also want to take a look at:

  • Custom Authentication Methods with Web Api

Here is a full Article on:

  • How to secure web api using SSL Certificate:
like image 52
Dalorzo Avatar answered Sep 18 '22 05:09

Dalorzo