Secure WebSocket on Self-hosted Amazon EC2 (Construct 2 Photon)
giangnd
✭
Hi,
I'm having trouble when I try to connect my self-hosted server (Amazon EC2), using Secure Websocket connection, I followed this tutorial to allow wss: https://doc.photonengine.com/en-us/onpremise/current/operations/websockets-ssl-setup.
I'm guessing that the problem is related with my certificate but I'm not entirely sure. I tried trusted Certificate Authority one (free SLL Certificate from https://www.comodo.com).
Here is the error (i'm using Public IP address):
Photon Config in Construct 2:
Here is app's websocket listener in PhotonServer.config:
Here is my Certificate Authority on Windows Server 2012 R2:
"Local computer" certificate store
Thank you
I'm having trouble when I try to connect my self-hosted server (Amazon EC2), using Secure Websocket connection, I followed this tutorial to allow wss: https://doc.photonengine.com/en-us/onpremise/current/operations/websockets-ssl-setup.
I'm guessing that the problem is related with my certificate but I'm not entirely sure. I tried trusted Certificate Authority one (free SLL Certificate from https://www.comodo.com).
Here is the error (i'm using Public IP address):
Photon Config in Construct 2:
Here is app's websocket listener in PhotonServer.config:
<WebSocketListener
IPAddress="0.0.0.0"
Port="9090"
DisableNagle="true"
InactivityTimeout="10000"
OverrideApplication="Master"
Secure = "true"
StoreName = "MY"
CertificateName = "mydomain.com"
UseMachineStore = "true">
</WebSocketListener>
<WebSocketListener
IPAddress="0.0.0.0"
Port="9091"
DisableNagle="true"
InactivityTimeout="10000"
OverrideApplication="Game"
Secure = "true"
StoreName = "MY"
CertificateName = "mydomain.com"
UseMachineStore = "true">
</WebSocketListener>
Here is my Certificate Authority on Windows Server 2012 R2:
"Local computer" certificate store
Thank you
0