Web server certificate

Overview

Allows you to reload the SSL/TLS role certificate ws from disk.
Applies after a new certificate is installed.

Requests

HTTP verb Endpoint Description

POST

/rest/v1/master/logicalroles/ws/cert

Reloading certificates

For all requests:
Domain type: master

Reloading certificates

Reloading SSL/TLS certificates from disk.

Request

Table 1. Request parameters
Specification Description

Name: action
Type: str

Certificate Action. Possible values:

  • reload - reloading the certificate from disk.

Name: sites
Type: str or list(str)
Default: current

Filter by site(s). Possible values:

  • current - on the current site.

  • all - on all the sites.

  • [site1, site2, …​] - site list.

Request example
POST /rest/v1/master/logicalroles/ws/cert HTTP/1.1
Content-Type: application/json

{
  "action": "reload",
  "sites": "all"
}

Response

Response example
HTTP/1.1 200 OK

{
  {
    "site": "central",
    "node": "ws1@192.168.0.32",
    "status": "ok"
  },
  {
    "site": "central",
    "node": "ws0@192.168.0.32",
    "status": "ok"
  },
  {
    "site": "virtual",
    "node": "ws2@192.168.0.64",
    "status": "ok"
  },
  {
    "site": "virtual",
    "node": "ws2x@192.168.0.84",
    "status": "undefined"
  }
}