webserver ciphers set
Sets REST API Server ciphers suite.
User Privileges
Users with the following privileges can perform this command:
>Admin
Syntax
webserver ciphers set -list <cipher_list> [-restart] [-force]
| Argument(s) | Shortcut | Description | 
|---|---|---|
| -list <cipher_list> | -l | Colon-separated list of ciphers. To allow all ciphers, set "-list all". | 
| -force | -f | Force the action without prompting. | 
| -restart | -r | Restart the REST API service if parameter is specified. Otherwise, the administrator must restart the REST API service by running service restart webserver. | 
Example
NOTE This example is small for illustrative purposes and does not reflect an adequate cipher suite for operational use.
lunash:>webserver ciphers set -list ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:DHE-DSS-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-DSS-AES256-SHA256:DHE-DSS-AES256-SHA256:ADH-AES256-GCM-SHA384:ADH-AES256-SHA256:ECDH-RSA-AES256-GCM-SHA384:ECDH-ECDSA-AES256-GCM-SHA384:ECDH-RSA-AES256-SHA384:ECDH-ECDSA-AES256-SHA384:AES256-GCM-SHA384:AES256-SHA256 -restart New REST API Service ciphers suite: ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:DHE-DSS-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-DSS-AES256-SHA256:DHE-DSS-AES256-SHA256:ADH-AES256-GCM-SHA384:ADH-AES256-SHA256:ECDH-RSA-AES256-GCM-SHA384:ECDH-ECDSA-AES256-GCM-SHA384:ECDH-RSA-AES256-SHA384:ECDH-ECDSA-AES256-SHA384:AES256-GCM-SHA384:AES256-SHA256 Restarting REST API service... Stopping websrv:OK Starting websrv:OK Command Result : 0 (Success)
