Skip to main content
Element Software
A newer release of this product is available.

CreatePublicPrivateKeyPair

Contributors netapp-pcarriga

You can use the CreatePublicPrivateKeyPair method to create public and private SSL keys. You can use these keys to generate certificate signing requests. There can only be one key pair in use for each storage cluster. Before using this method to replacing existing keys, ensure the keys are no longer in use by any providers.

Parameters

This method has the following input parameters:

Name Description Type Default value Required

commonName

The X.509 distinguished name Common Name field (CN).

string

None

No

country

The X.509 distinguished name Country field ©.

string

None

No

emailAddress

The X.509 distinguished name Email Address field (MAIL).

string

None

No

locality

The X.509 distinguished name Locality Name field (L).

string

None

No

organization

The X.509 distinguished name Organization Name field (O).

string

None

No

organizationalUnit

The X.509 distinguished name Organizational Unit Name field (OU).

string

None

No

state

The X.509 distinguished name State or Province Name field (ST or SP or S).

string

None

No

Return values

This method has no return values. If there is no error, key creation is considered successful.

Request example

Requests for this method are similar to the following example:

{
  "method": "CreatePublicPrivateKeyPair",
  "params": {
    "commonName": "Name",
    "country": "US",
    "emailAddress" : "email@domain.com"
   },
"id": 1
}

Response example

This method returns a response similar to the following example:

{
   "id": 1,
   "result":
      {}
}

New since version

11.7