REST API  17
REST API for Luna Network HSMs
GET /api/lunasa/webServer

GET /api/lunasa/webServer

Gets the configuration of the web server providing the REST API.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator
  • monitor

Parameters

None

Responses

200

The configuration of the web server.

JSON Schema: Web Server Configuration Description

400

Unexpected error

Example Request

   GET
   https://1.2.3.4:8443/api/lunasa/webServer

Example Result

{
    "actions": "/api/lunasa/webServer/actions",
    "apiVersion": 17,
    "blacklist": "/api/lunasa/webServer/blacklist",
    "certificate": "/api/lunasa/webServer/certificate",
    "cipherList": "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA256:AES256-GCM-SHA384:AES256-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:AES128-GCM-SHA256:AES128-SHA256",
    "corsOrigins": ["*"],
    "csr": "/api/lunasa/webServer/csr",
    "groupList": "secp256r1:P-256:secp384r1:P-384:secp521r1:P-521:x25519:x448:brainpoolP256r1tls13:brainpoolP384r1tls13:brainpoolP512r1tls13:ffdhe2048:ffdhe3072:ffdhe4096:ffdhe6144:ffdhe8192:MLKEM512:MLKEM768:MLKEM1024:SecP256r1MLKEM768:X25519MLKEM768:SecP384r1MLKEM1024",
    "ipAddress": "0.0.0.0",
    "maxFileSize": 1048576,
    "netDevice": "all_ipv4",
    "port": 8443,
    "sessionTimeout": 600,
    "threads": 32
}

See Also

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/blocklist