export-server-config
Export the server configuration file.
Syntax:
shell
sfiler-cli [options] export-server-config [command options]
Command options | Required / Optional | Description |
---|---|---|
-n | Required | The instance Name. |
-cs | Required | A flag indicating if the Administrative Console must be started when the server starts. |
-css | Required | A flag indicating if the Administrative Console must be started in SSL. |
-bs | Required | A flag indicating if the Batch Processes must be started when the server starts. |
-cshc | Required | A flag indicating if the SNI Host Check must be activated for the Administrative Console. |
-cscmm | Required | A value that determines how SSL/TLS ciphers are managed (possible values are: JVM_DEFAULT_CIPHERS, AUTOMATIC, CUSTOM). S-Filer maintains a list of strong ciphers that will evolve over time. The 'Automatic' mode allows to enable only the strong ciphers from this list. For some older clients, weaker ciphers may need to be enabled because they don't support any of the strong ones. The 'JVM Default' mode results in all ciphers present on the JVM to be enabled. For a more fine-grained control, the 'Custom' mode allows to specify all the ciphers that must be enabled in the 'Custom SSL/TLS ciphers' parameter. |
-cscs | Optional | A value indicating the list of SSL/TLS ciphers (separated by comma) that will be enabled if the cipher management mode is 'Custom'. WARNING: Some ciphers specified in this list may not be available depending on the key type of the SSL/TLS private key. |
-cp | Required | Port number where the Administrative Console listens for incoming connection request. |
-ck | Optional | The Keystore that will contain the Administrative Console Key Pair. |
-ckp | Optional | The password used to open the Keystore. |
-ckka | Optional | The alias for the Key Pair to be used inside the Keystore. |
-ccjp | Required | A flag indicating if the ClickJacking protection must be activated for the Administrative Console. |
-chhs | Required | A flag indicating if the HSTS Header Support must be activated for the Administrative Console. |
-chhsma | Required | The HSTS Header Support Max Age value (in seconds). |
-u | Required | The user to be used to connect to the database. |
-pw | Required | The password to be used to connect to the database. |
-du | Required | The complete URL for the database, including jdbc protocol parts. |
-djd | Required | The full package and class name of the JDBC driver to be used. |
-dd | Required | The Dialect to be used when communicating wit the database. |
-dfs | Optional | The database fetch size. |
-scf | Optional | The Server Configuration File where the configuration will be saved. If not provided, the file will be saved in the current folder using the default configuration file name (sfiler.conf). |
Example:
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" export-server-config