View Source

On the _API Server Options_ screen, you can adjust the Server Backup Manager settings used for API Server HTTP and HTTPS connections. Follow the instructions below to configure the API Server options in the Backup Manager.

1. In the Main Menu, click *Advanced Options* and select *API Server Options*. The _API Server Options_ screen displays, as shown in the following image.


!API Server Options screen.png|border=1!

2. Define the HTTP options in the _HTTP Options_ section.
* Select the *Enabled* check box to enable HTTP for the API Server.
* In the *Port* field, enter the port on which the API HTTP Server will listen. The default port is *9080*.
* In the *Max Connections* field, enter the maximum simultaneous number of API connections via HTTP protocol. The default value in this field is *100*.
\\

3. Define the HTTPS/SSL options in the _SSL Options_ section.

* Select the Enabled check box to enable the HTTPS connection for the API Server.
* In the *Port* field, enter the port on which the API HTTPS server will listen. The default port is *9443*.
* In the *Max Connections* field, enter the maximum simultaneous number of API connections via HTTPS protocol. The default value in this field is *100*.
* In the *Keystore Path* field, enter the full path to the file with the SSL key, such as {{/usr/sbin/r1soft/bin/../conf/keystore}}.

4. Click the *Save* button.

If the API server options were changed, the API server must be restarted. If changes were made, the _Restart API Server_ window displays.

!Restart API Server window.png|border=1!


5. Click *Yes* to restart the Web Server. The window closes, and the API server is restarted. 

{note:title=Notice}
Restarting the API server will not interrupt any running tasks.
{note}
{info:title=Notes}
* If the port number is changed, it must be added to the new URL manually.
* If a protocol is disabled, you will need to switch to the other protocol manually. Otherwise, the page automatically redirects you when the server resumes.
* If the API Server does not restart in about 30 seconds, check server logs for errors.
* Release 5.12.0\+ supports only TLSv1.2 for SSL by default. In 5.12.1 you may downgrade the API TLS version by specifying "api-tls-version" in the api.properties file of your Backup Manager. The following case sensitive values can be used: TLSv1, TLSv1.1, and TLSv1.2. If a different value is used, the server will fallback to "TLSv1.2".
{info}
{excerpt:hidden=true}Instructions on how to configure API Server Options in the Backup Manager.{excerpt}