REST API  4.0.0
REST API for SafeNet Network HSMs
GET /auth/certificate

GET /auth/certificate

Returns server public certificate. NOTE: The certificate is PEM format with no embedded newlines, with string '\n' instead of the newline character.

Parameters

None

Responses

200

Success

400

Unexpected error

Example Request

   GET
   https://1.2.3.4:8443/auth/certificate
   {
   }

Example Result

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