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?

AWS
已提問 8 年前檢視次數 1192 次
1 個回答
0
已接受的答案

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
已回答 7 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南