Edit Manager device HTTPS certificate chain

Change the HTTPS certificate chain used by a IBM COS Manager™ device for the user interface and REST API.

Request

Security

Table 1. Roles capable of executing the Edit Manager device HTTPS certificate chain API method
Any     Storage Account Administrator  
Super User   Vault Provisioner  
System Administrator   Elastic Device Provisioner  
Security Officer     Service Account  
Operator        

HTTP method

POST /manager/api/{apiResponseType}/1.0/editManagerUiApiHttpsCertificateChain.adm HTTP/1.1 Host:{manager.dsnet} id={deviceId}&privateKeyPem={string}&certificatePem{string}

Curl method


curl -u {admin}:{password} 
     -k “https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/
         editManagerUiApiHttpsCertificateChain.adm”
     -d “id={deviceId}&privateKeyPem={string}&certificatePem{string}”

Parameters

Table 2. Request Parameters for Edit Manager device HTTPS certificate chain (editManagerUiApiHttpsCertificateChain) API method
Parameter Type Usage Default Description
id Long Required   Manager generated device ID.
privateKeyPem String Optional The trusted external private key associated with the external certificate(s).
certificatePem String Optional The certificate(s) associated with the private key. Enter the host certificate and any intermediary CA certificateChain up to the root CA.

Response

Returns success or failure status.

Parameters

None other than the default response parameters shown in Common response parameters.

  • protocolType affects Accesser devices only.
  • driveFailureWarningCount and driveFailureErrorCount affects Slicestor devices only.
  • Individual drive health configuration must be enabled before modifying the driveFailureWarningCount and driveFailureErrorCount.