Hello Lapo,
I installed PositiveSSL and everything went very well with the explanations from your docs. (Maybe you could add that a server reboot is necessary even at the end of the non-manual method, but that's kind of obvious)
My idea was to do a smooth transition with the client apps as such:
- players using the current/old version would keep connecting to Zone X non encrypted, and get in-game messages encouraging them to upgrade their app from Play/Apple Store
- players using the newest version would connect to the same Zone with encryption on
and everyone would see each other.
I thought this was doable because the "Use encryption" flag in Zone configuration says
"If turned on, the server will only accept encrypted connections for this Zone; otherwise
either encrypted and non-encrypted connections are allowed"
So I let that flag to OFF, but if I try to connect from the Unity Editor using parameters HttpsPort=443, TcpPort = 9933:
- It connects
- OnInitCrypto is called
- I get "[SFS - ERROR] [TCPSocketLayer] Connection closed by the remote side" and the server log shows "com.smartfoxserver.v2.exceptions.SFSRuntimeException: Login rejected. The requested Zone does not support encryption"
SFS2X version 2.15.0 running on Amazon Linux 2.
So basically I might have to setup a new Zone with encryption ON, the new client apps will connect to that zone and the player base will move to it progressively? It would be a bit bad, but not nearly as bad as setting up a new server entirely.
