[SOLVED] Doubt on creating SSL Certificate for wss

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [SOLVED] Doubt on creating SSL Certificate for wss

Postby Lapo » 16 Jan 2017, 17:31

I checked the IP address in the screenshot and there's no service responding on that TCP port (8843).
If the server is configured correctly the problem is likely to be a firewall blocking communication with the outside world.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
msaygi
Posts: 11
Joined: 06 Jan 2017, 09:21

Re: [SOLVED] Doubt on creating SSL Certificate for wss

Postby msaygi » 25 Jan 2017, 10:21

Hi again,

We cannot resolve our ssl problem. Now our state is, we regenerate our ssl certificate from RapidSSL and reintegrate to Smartfox 2.9.2 via following your instructions. When we try to connect via telnet we got this output:

Code: Select all

Trying x.xx.xxx.xxx...
Connected to sd.example.net.
Escape character is '^]'.
Connection closed by foreign host.


Then if we try to connect via Smartfox Web Connector on Facebook Canvas Hosting we got abnormal termination on Web UI and we got this output on smartfox logs:

Code: Select all

25 Jan 2017 | 12:11:47,379 | INFO  | SocketReader | bitswarm.sessions.DefaultSessionManager |     | Session created: { Id: 5, Type: DEFAULT, Logged: No, IP: 78.173.67.131:57012 } on Server port: 8843 <---> 57012
25 Jan 2017 | 12:12:17,383 | INFO  | SocketReader | bitswarm.sessions.DefaultSessionManager |     | Session removed: { Id: 5, Type: DEFAULT, Logged: No, IP: 78.173.67.131:57012 }


It waits for a while than we got timeout. Where is our mistake do you think? Can you give us a step by step tutorial for this issue?

Thanks in advance...
Last edited by msaygi on 26 Jan 2017, 08:05, edited 1 time in total.
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [SOLVED] Doubt on creating SSL Certificate for wss

Postby Lapo » 25 Jan 2017, 14:38

To verify if your certificate was deployed correctly you should open your browser and point it to --> https://<your-domain>:8843/
If I understand correctly your domain is dev.jokergame.net.

Checking the https://dev.jokergame.net:8843 gives me the green lock icon which in turn means your SSL certificate is installed correctly and the connection is protected by TLS1.2

Keep in mind that your game client will need to use the same domain to connect to the SmartFox. Using the IP address will cause errors because the SSL certificate only works for domain names.

Hope it helps
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 110 guests