|  | REST API
    4.0.0
    REST API for SafeNet Network HSMs | 
Regenerates the certificate
curveName is the name of the elliptic curve used for an ECDSA-based certificate.
Use:  Required  
JSON Schema:  
Object type: string
keyType is the type of key used by the web server to secure access to the REST API service.
Use:  Required  
JSON Schema:  
Object type: string
keySize is the number of bits for the key used to secure access to the REST API service.
Use:  Required  
JSON Schema:  
Object type: integer
subjectAltName is an extension to X.509 that allows various values to be associated with a security certificate.
Use:  Required  
JSON Schema:  
   Object
   type: array
       subjectAltName: Object
                      type: string
Success
JSON Schema:  
    id: Object
        type: string
  "Location" is the URL to the task spawned to regenerate the certificate. The task is a waiting task.
 
Bad Request
 
   PUT
   https://1.2.3.4:8443/api/lunasa/webServer/certificate
   {
   "curveName" : "secp521r1",
   "keyType" : "rsa",
   "keySize" : 2048,
   "subjectAltNames" : ["example.com", "www.example.com"]
   }
 
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/0', 'Content-Length': '251', 'Access-Control-Allow-Credentials': 'true'}
{ 
}