RemoteCertificateNameMismatch error when using Gamelift generated certificat

0

When trying to securely connect a client through an Gamelift SSL generated certificate to a Game session we got an RemoteCertificateNameMismatch error. We are using a Websocket communication between game client based on Unity and the game session.

AWS
Steve_H
asked 2 years ago351 views
1 Answer
0
Accepted Answer

When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

DNS name can be retrieved when getting GameSession object and is format following this pattern: <unique identifier>.<region identifier>.amazongamelift.com.

https://docs.aws.amazon.com/gamelift/latest/apireference/API_GameSession.html#gamelift-Type-GameSession-DnsName

AWS
Steve_H
answered 2 years ago

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