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

PUT /api/lunasa/webServer/certificate

Replaces the current certificate with a given file.

Parameters

The request takes in a file.

See File I/O

Responses

204

Success

Location

JSON Schema:

    id: Object
        type: string

"Location" is the URL to the task spawned to regenerate the certificate. The task is a waiting task.

400

Bad Request

Example Result

{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/0', 'Content-Length': '254', 'Access-Control-Allow-Credentials': 'true'}

{
}