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.
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 (C). | 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 |
This method has no return values. If there is no error, key creation is considered successful.
Requests for this method are similar to the following example:
{ "method": "CreatePublicPrivateKeyPair", "params": { "commonName": "Name", "country": "US", "emailAddress" : "email@domain.com" }, "id": 1 }
This method returns a response similar to the following example:
{ "id": 1, "result": {} }
11.7