SSL/HTTPS configuration

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

Post Reply
albcom
Posts: 24
Joined: 06 Jan 2014, 00:28

SSL/HTTPS configuration

Post by albcom »

Hello all,

I am having some issues, or better, a lack of understanding on how to configure a game that I am planning to release on facebook through https. What steps should i follow to make this happen in a linux environment ? Do i need to secure a SSL ? If that is the case how would SFS be configured ? Any insight/help would be greatly appreciated.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SSL/HTTPS configuration

Post by Lapo »

What is exactly the problem you are facing?
Facebook operates mainly via HTTPS but your SFS connection doesn't use HTTP so you don't need SSL or anything like that.
Lapo
--
gotoAndPlay()
...addicted to flash games
albcom
Posts: 24
Joined: 06 Jan 2014, 00:28

Re: SSL/HTTPS configuration

Post by albcom »

How can I enable HTTPS if the only server I am running is SFS? I have 1 Linux machine running only SFS and no other servers. If i hit it directly http works fine, I want to be able to have HTTPS to work. I am not sure what to do at this point to enable HTTPS.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SSL/HTTPS configuration

Post by Lapo »

You mean HTTPs to serve web content?
As of the current version of SmartFoxServer 2X we don't provide it directly. The Jetty version we embed is stripped down of all extra components/modules, https included.

We're officially providing HTTPS support in the next release, 2.9.0 which will include the latest Jetty 9.x
Lapo
--
gotoAndPlay()
...addicted to flash games
albcom
Posts: 24
Joined: 06 Jan 2014, 00:28

Re: SSL/HTTPS configuration

Post by albcom »

Correct HTTPS to serve up web content which includes the game files. Under the root folder I have the client files, html, flash content. I want to be able to use only SFS and not include any third party servers. Seems to me that I would need a third party server like Tomcat to have HTTPS enabled, which then uses SFS to serve up the game ? I am trying to figure out the proper approach on how to serve up a game through HTTPS.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SSL/HTTPS configuration

Post by Lapo »

If your website or Facebook requires HTTPS you will need an HTTPs webserver and a valid HTTPs certificate for your website.
Tomcat can be good or Jetty 9 too, which I prefer since it's lighter.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply