Retrieve content of certificate key.
GET /api/key HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "crt": "text", "key": "text" }
Update certificate key.
Content of this certificate file for TLS or WSS transport protocol. The certificate file MUST be PEM-encoded with X.509.
Content of this private certificate file for TLS or WSS transport protocol.
POST /api/key HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 27 { "crt": "text", "key": "text" }
No Content
No content