REST API
4.0.0
REST API for SafeNet Network HSMs
|
Sets the configuration of the web server providing the REST API.
cipherList is the cipher suite the REST API service is to accept for applications requesting connection to the web server. cipherList is a sub-set of the ciphers known to the REST API service.
Use: Required
JSON Schema:
Object type: string
netDevice is the interface to which the REST API service is bound. Valid interfaces are: eth0, eth1, eth2, eth3, all, all_ipv6, bond0 and bond1.
Use: Required
JSON Schema:
Object type: string
port is the logical end-point number reserved for the REST API service. The port must be within the range: 80 to 65535.
Use: Required
JSON Schema:
Object type: integer
threads is the number of simultaneous connections the REST API service supports. A small number of threads implies restricted administrative access to the appliance.
Use: Required
JSON Schema:
Object type: integer
Success
Unexpected error
PUT https://1.2.3.4:8443/api/lunasa/webServer { "cipherList" : "SRP-RSA-3DES-EDE-CBC-SHA, ECDH-ECDSA-RC4-SHA, DHE-RSA-SEED-SHA, EDH-RSA-DES-CBC-SHA", "netDevice" : "eth1", "port" : 8443, "threads" : 5 }
{ }