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

GET /api/lunasa/webServer/certificate

Gets the attributes of the certificate.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • monitor

Parameters

None

Responses

200

The attributes of the certificate.

JSON Schema: Web Server Configuration Description

404

APICONFIG_CERT_NOT_FOUND

Certificate was not found, please generate a certificate.

Example Request

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

Example Result

{
   "actions": "/api/lunasa/webServer/certificate/actions",
   "curveName": "",
   "keySize": 2048,
   "keyType": "rsa",
   "sha1": "90:CB:FF:D4:90:F4:C0:7D:09:87:DD:81:88:00:D8:6F:93:3E:58:F6",
   "sha256": "48:AA:21:A2:B3:65:79:49:8E:5C:C2:19:81:02:92:D9:53:55:DC:18:EF:66:A7:F9:F1:75:14:48:0B:DA:95:4E",
   "subjectAltNames": []
}