REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/ntls/certificate

GET /api/lunasa/ntls/certificate

Gets the server-side certificate used by NTLS to establish connections with clients.

Parameters

None

Responses

200

NTLS server certificate.

JSON Schema:

   Object
   certificate: Object
       type:  string
       description:  certificate is a privacy enhanced mail-format string.  
                     Save this string to a file named "server.pem" to recreate
                     the server certificate as represented on the appliance.

400

Unexpected error

Example Request

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

Example Result

{
    "certificate": "-----BEGIN CERTIFICATE-----
    ... <certificate> ...
    -----END CERTIFICATE-----\n"
}