Does API Gateway WebSocket APIs support MTLS?

0

I know it can be configured with REST API, but does WebSocket API also support MTLS? Would appreciate a pointer to the documentation!

Thanks in advance.

1 個回答
0
已接受的答案

I could not find any mention on MTLS and WebSocket. Probably u r right that is not supported but perhaps you can try using custom lambda authorizer as alternative?

https://aws.amazon.com/blogs/compute/propagating-valid-mtls-client-certificate-identity-to-downstream-services-using-amazon-api-gateway/

I have not done this in the past

Niko
已回答 1 年前
  • Does above only apply to REST/HTTP API since the request context for WebSocket API will be different w/o the client cert content since MTLS is not supported for WebSocket API? I just started on checking WebSocket API for server in AWS to push event to clients/machines on prem. We currently have client cert verification for REST API already. If AWS WebSocket API can support MTLS, that will be great. Not sure why it's not supported though REST/HTTP API do.

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

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

回答問題指南