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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ