giangnd's Recent Forum Activity

  • 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: doc.photonengine.com/en-us/onpr ... -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>
    [/code:3lpnwlyr]
    
    Here is my Certificate Authority on Windows Server 2012 R2:
    [img="http://i.imgur.com/jcXnx4y.png"]
    
    "Local computer" certificate store
    [img="http://i.imgur.com/KngJf68.png"]
    
    Thank you
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
giangnd's avatar

giangnd

Member since 8 Jul, 2017

Twitter
giangnd has 1 followers

Trophy Case

  • 7-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

9/44
How to earn trophies