2-way SSL with IIS behind ELB

0

A customer is migrating an internal-facing .net microservice to AWS that uses 2-way SSL (client-side authentication) for access control. It's hosted on IIS (Windows Server 2012) in an ASG behind a classic ELB.

The problem is that we can't get 2-way to work with IIS behind the ELB. The ELB is configured to use proxy protocol, and has TCP Listeners on port 443 (In & Out). All in-coming REST requests time-out (system cannot be reached).

Does anyone know how to get 2-Way SSL to work with IIS behind an ELB?

1 Antwort
0
Akzeptierte Antwort

As it turns out, we discovered that our requests were timing out because IIS doesn't support proxy protocol. That's okay, because 2-way SSL doesn't utilize x-forwarded-for headers.

We got it to work as follows:

  1. Configure the ELB to pass-through SSL to the server (Protocol = TCP, Port = 443).

  2. Ensure proxy mode is disabled on the ELB (this is the default setting).

  3. Configure the IIS site to accept client-side SSL certificates, using these instructions.

  4. Client-Side app adds the client-cert to each rest request

  5. Server-Side app's request handler inspects requests for matching client-cert thumbprint

AWS
beantwortet vor 7 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen