![]() |
REST API
14
REST API for Luna Network HSMs
|
Gets the configuration of the web server providing the REST API.
Users with the following role privileges can perform this command:
None
The configuration of the web server.
JSON Schema: Web Server Configuration Description
Unexpected error
GET https://1.2.3.4:8443/api/lunasa/webServer
{
"apiVersion": 7,
"cipherList": "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256",
"ipAddress": "0.0.0.0",
"netDevice" : "eth1",
"port" : 8443,
"threads" : 5,
"certificate": "/api/lunasa/webServer/certificate",
"actions": "/api/lunasa/webServer/actions",
"csr": "/api/lunasa/webServer/csr",
"corsOrigins": ["*"],
"blacklist": "/api/lunasa/webServer/blacklist",
"maxFileSize": 1048576,
"sessionTimeout": 600
}
PUT /api/lunasa/webServer
PATCH /api/lunasa/webServer
GET /api/lunasa/webServer/certificate
GET /api/lunasa/webServer/actions
GET /api/lunasa/webServer/csr
GET /api/lunasa/webServer/blacklist