Copy the
access_token value from the response above. This value will be required in the header key
Authorization for all the REST calls in subsequent steps.
On the REST API client, run the following to obtain the old or expired external server certificate:
GET https://server hostname:REST port number/api/v2/certificates
NOTE Add the following header key with your REST call request:
'Authorization: access_token_value'
The response returns a list of certificate entries, each containing the following information:
NOTE Make note of the
host,
port and
type of each certificate, as this information will be required in Step 4. If you supply incorrect information in Step 4, requests that use these external hosts might fail.
On the REST API client, delete the old or expired external server certificate from the
PowerProtect Data Manager datastore, using the ID obtained from the response in step 2:
DELETE https://server hostname:REST port number/api/v2/certificates/id
NOTE Add the following header key with your REST call request:
'Authorization: access_token_value'
Ensure that you delete only the external server certificate that you want to remove.
On the REST API client, obtain the new certificate from the external server, using the host, port, and type obtained from the response in step 2:
GET https://server hostname:REST port number/api/v2/certificates?host=host&port=port&type=type
NOTE Add the following header key with your REST call request: