Unable to access files on the external repository

Symptom

Unable to access files on the external repository X due to an invalid certificate. The server name or common name is not available in the certificate, or the server name does not match the server certificate.

This alert is new starting with HPE OneView 5.0.

ID: rrm.invalidCertificate

Severity: Critical

Health category: RRM

Resource URI: /rest/repositories/{repositoryUri}

Cause

HPE OneView 5.0 and newer versions perform a strict check for the server name and common name attributes within a certificate.

Action
  1. Retry adding the repository after ensuring that the certificate matches the server name and common name.
  2. If the repository has already been added, edit the repository after updating the certificate.