Edit storage pool HTTPS certificate chain
Edit storage pool HTTPS certificate chain in the system.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/editStoragePoolHttpsCertificateChain.adm HTTP/1.1
id={storagePoolId}
&privateKeyPem={privateKeyPem}
&certificatePem={certificatePem}
Curl method
curl -u admin:password https://{manager.dsnet}/manager/api/json/1.0/editStoragePoolHttpsCertificateChain.adm -d id={storagePoolId} -d privateKeyPem={privateKeyPem} -d certificatePem={certificatePem}
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
|
id |
Long |
Required |
the id of the storage pool (storage pool must already have Embedded Accesser Service enabled). |
|
| privateKeyPem | String | Optional | the PEM contents of the private key to use. | |
| certificatePem | String | Optional | the PEM contents of the certificate(s) to use. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.