Home > |
---|
Generates a REST API Server certificate.
webserver certificate generate -keytype <key_type> [-keysize <size>] [-curve <curve_name>] [-restart] [-force]
Parameter | Shortcut | Description |
---|---|---|
-keytype | -keyt <key_type> |
Key type (ecc, rsa). |
-keysize | -keys <size> |
RSA key size: default to 2048 (2048,3072,4096). |
-curve | -c <curve_name> |
Elliptic Curve name: default to secp384r1 |
-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 via other means (i.e., “service start webserver”). |
lunash:>webserver certificate generate -keytype ecc -restart WARNING: This operation will generate/regenerate the REST API Server certificate !!! Type 'proceed' to continue, or 'quit' to quit now. > proceed Proceeding...
Restarting REST API service... Stopping adminApi:OK Starting adminApi:OK Command Result : 0 (Success)