How to secure OWIN Self-Host WebAPI web application with client certificates?

Background

We are currently creating a RESTful service using Web API 2 and .NET 4.5.2. The service uses OWIN standalone hosting built into the Windows service using Topshelf. For authentication, clients must provide a client certificate (X509). All of the documentation we have discovered so far uses IIS to configure client certificate authentication.

Question

Is there a way to authenticate through certificates when you use OWIN standalone hosting instead of IIS?

Thank you very much in advance.

+5
source share

All Articles