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
답변함 일 년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인