REST API  4.0.0
REST API for SafeNet Network HSMs
PATCH /api/lunasa/webServer/certificate

PATCH /api/lunasa/webServer/certificate

Regenerates the certificate with the given amount of fields.

Parameters

curveName

curveName is the name of the elliptic curve used for an ECDSA-based certificate.

Use: Not Required

JSON Schema:

   Object
   type: string

keyType

keyType is the type of key used by the web server to secure access to the REST API service.

Use: Not Required

JSON Schema:

   Object
   type: string

keySize

keySize is the number of bits for the key used to secure access to the REST API service.

Use: Not Required

JSON Schema:

   Object
   type: integer

subjectAltNames

SubjectAltName is an extension to X.509 that allows various values to be associated with a security certificate.

Use: Not Required

JSON Schema:

   Object
   type: array
       subjectAltName: Object
                      type: string

Responses

204

Success

400

Bad Request

Example Request

   PATCH
   https://1.2.3.4:8443/api/lunasa/webServer/certificate
   {
   "subjectAltNames" : ["example.com", "www.example.com"]
   }

Example Result

{
}