Skip to main content
REST API reference

Create a cluster network security certificate configuration

POST /security/cluster-network/certificates

Introduced In: 9.18

Specifies the certificate configuration for cluster network security for a given node.

Required properties

  • 'node' - The node to which the certificate will be assigned.

  • 'name' - The certificate name.

  • 'security cluster-network certificate create'

Parameters

Name Type In Required Description

return_records

boolean

query

False

The default is false. If set to true, the records are returned.

  • Default value:

Request Body

Name Type Description

certificate

security_certificate_reference

Security certificate object reference

node

node_reference

Example request
{
  "certificate": {
    "name": "string",
    "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
  },
  "node": {
    "name": "node1",
    "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
  }
}

Response

Status: 201, Created
Name Type Description

certificate

security_certificate_reference

Security certificate object reference

node

node_reference

Example response
{
  "certificate": {
    "name": "string",
    "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
  },
  "node": {
    "name": "node1",
    "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
  }
}

Headers

Name Description Type

Location

Useful for tracking the resource location

string

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

70320128

Modifying the cluster network security configuration requires an effective cluster version of ONTAP 9.18.1 or later.

70320132

The cluster has an out of quorum node, wait until all nodes are in quorum before modifying the cluster network security configuration.

70320137

The specified certificate was not found on the admin SVM

Also see the table of common errors in the Response body overview section of this documentation.

Definitions

See Definitions

href

Name Type Description

href

string

security_certificate_reference

Security certificate object reference

Name Type Description

name

string

Certificate name

uuid

string

Certificate UUID

node_reference

Name Type Description

name

string

uuid

string

security_cluster_network_certificates

Manages the cluster network security certificate configuration.

Name Type Description

certificate

security_certificate_reference

Security certificate object reference

node

node_reference

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.