After creating a new Nexus repository we're seeing the following errors in our management server's nolio_dm_all.log file:
2020-12-21 17:58:25,762 [ActionsSyncTimer] ERROR (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.ArtifactRepositoryPlugin:521) - Failed to execute HttpGet for artifact [/nexus/service/local/repositories/nolio/status] from default repository [https://<repoServername>:8443/nexus/content/repositories/nolio].
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
Release : 6.6
Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER
This error indicates that the Management server (aka NAC) has had it's conf/nolio-repo.properties setup to point to a repository using https and the management server does not have a certificate in its truststore.
Import the needed certificate to the mgmt servers truststore.
Note:
To determine which TrustStore File to use in step #3 you can follow these steps: