While using the "ROC - Get Artifact" action we're receiving the following error:
Artifact [ArtifactTypeName. <artType> ArtifactDefinitionName. <artDefName> Ver. <artVersion>] download failed, Download failed on artifact retrieval agent: Error while downloading artifact from repository artifact - Failed to execute HttpGet for artifact [/nexus/content/repositories/nolio/<path>/<to>/<artifact>] from default repository [https://<repoServerName>:8443/nexus/content/repositories/nolio].
CA Release Automation (Nolio) Release Operations Center - 6.x
The artifact was assigned an artifact retrieval agent group. The artifact retrieval agent being used by the deployment is having SSL Handshake errors while retrieving the artifact from the HTTPS repository. In the nolio_all.log file we can see the error:
Error while downloading artifact from repository artifact - Failed to execute HttpGet for artifact [/nexus/content/repositories/nolio/<path>/<to>/<artifact>] from default repository [https://<repoServerName>:8443/nexus/content/repositories/nolio].
java.lang.IllegalStateException: Failed to execute HttpGet for artifact ....
... stack trace ...
Caused by: 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.
Import the needed certificates into the retrieval agent's truststore.
If you need the specific steps for how to import the needed certificate into the agent's truststore - one of both of these KB articles will help:
javax.net.ssl.SSLHandshakeException PKIX path building failed