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 Answer
0
Accepted Answer

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
answered a year ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions