Page 1 of 1
SSL/HTTPS configuration
Posted: 24 Mar 2014, 04:16
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.
Re: SSL/HTTPS configuration
Posted: 24 Mar 2014, 09:02
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.
Re: SSL/HTTPS configuration
Posted: 24 Mar 2014, 12:16
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.
Re: SSL/HTTPS configuration
Posted: 24 Mar 2014, 14:13
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
Re: SSL/HTTPS configuration
Posted: 24 Mar 2014, 15:26
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.
Re: SSL/HTTPS configuration
Posted: 24 Mar 2014, 15:55
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.