Error when configuring TeamCity's Artifactory plugin -
i have installed teamcity artifactory plugin on teamcity 10 when configure artifactory providing server url , doing test connection gives below error:
error occurred while requesting version information: sun.security.validator.validatorexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target (javax.net.ssl.sslhandshakeexception)
it seems teamcity instance unable reach artifactory instance. can ping call teamcity artifactory? better run artifactory rest api call system ping, using defined url of artifactory in teamcity.
the rest should that:
curl -u user:password "https://{artifactoryurl}:{port}/artifactory/api/system/ping"
after running teamcity instance see if able reach artifactory instance.
also, have proxy server between teamcity artifactory? error seems there proxy server in middle, if please follow instructions on how configure teamcity artifactory plugin go via proxy server here.
Comments
Post a Comment