Standalone SSL

Hi team, I would like to ask you if is there some guideline how to setup SSL with Standalone server ?
I just bought ssl certificate and now I have one *.pem file, but not sure how to deploy it. Currently there is self signed certificate, but Its not what I want to use in production. Also there is one thing… When I am connected via https to my server and try to retrieve some data from “REST console” I am getting error “Server temporarily unavailable”. I guess its because of this url:

https://myserver:80/api/v1/data/Users

Where is mentioned “https”, but port is “80” (should be 443 right? ). How can I change that ?

And my last question is regarding hardware requirements. How “powerful” should be server (CPU, RAM) for running at least one application. I know its really hard to say, but is there any table comparing number of concurent connections/ api calls to server requirements ?

Many thanks in advance for support

Josef

Hi Josef,

Configuring SSL on Standalone Backendless follows the same process as for Apache. Please see the docs here: https://wiki.bitnami.com/Applications/Bitnami_Standalone_Backendless#How_to_enable_SSL.3f

As for the server configuration, it is impossible to answer. You need to benchmark your installation and see what the limits are.

Regards,
Mark

Hi Mark,

many thanks for reply. Thanks for link. Last question. Is there any benchmark tool, how can I simulate load to my server ?

Thanks

Josef

you can use http://jmeter.apache.org/

Hi Sergey,

many thanks for reply ! I will try it ;-). I have tried to find there some solution how to fix Rest API console port.

When I am connected via https to my server and try to retrieve some data from “REST console” I am getting error “Server temporarily unavailable”. I guess its because of this url:

https://myserver:80/api/v1/data/Users

Where is mentioned “https”, but port is “80” (should be 443 right? ). How can I change that ?

Is it possible to change that ? I have setup force rewriting port 80 to 443 as was described in wiki, but in “REST console” is still mentioned only port 80.
Thanks
Josef

Hi Josef,

To configure https in Standalone backendless you need to make the following changes in backendless.config:

    add host with https in the allowedHosts element (to allow access to development console via https) <host>https://your-backendless-dev-console-address</host> Modify the "console" element : <console> <rootUrl>https://your-backendless-dev-console-address</rootUrl> Make the following change to allow API https access: <server> <ipHeader>X-Real-IP</ipHeader> <httpAddress>https://your-server-host-address</httpAddress>
Regards, Mark

Hi Mark,

many thanks for reply ! I already did this in backendless.config :slight_smile: and wanted to share this but you was quicker :-). I just create a new topic regarding new version of BL stand alone server. If is possible to quick reply here and I will close the new one topic ? My question was…

Hi team,

I would like to ask you, if is there a plan, release the same version as you running on cloud also for Standalone server ? I have tried to import database (ZIP file) from Parse server to cloud and it was workable. But when I tried to do the same to my server I got this error

For input string: “null"

If there is a plan to release the same version also for SA server, kindly asking for estimate, when this will be released/ available for downloading.

Thank you in advance for reply

Josef

The updated version of the Standalone installer is in QA now. We will release it as soon as it passes all the tests.

Regards,
Mark

Ok great news, do you have time estimate ? Days, weeks, months ?

Weeks.