question

Walter Geisler avatar image
Walter Geisler asked

Can GameServers Run a WebSocket Server With SSL?

A client running in WebGL must use web sockets to connect to servers. Additionally, a WebGL build running in https must use SSL to connect to a web socket server.

Is it possible to have a .pfx file exist on the PlayFab server instances so that a web socket connection over SSL is possible?

multiplayer
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Austin Brunkhorst avatar image
Austin Brunkhorst answered

Hi @Walter Geisler,

Unfortunately PlayFab cannot issue SSL certificates for a server instance's public FQDN. A workaround is to have your WebSocket client connect to a reverse proxy hosted on an https domain.
You can find more information and a sample reverse proxy on GitHub.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.