Reputation: 67
Our working environment is Azure DevOps. We actually use PowerShell scripts to upload our artifacts to Artifactory.
Right now we are trying to download those artifacts using the Artifactory Service Connection in Azure DevOps, but not the PowerShell script. So now we are having the error
[error] Post https://art..... : x509 certificate signed by unknown authority
How can we solve this issue?
Upvotes: 0
Views: 2101
Reputation: 1511
It seems that you are accessing Artifacory via HTTPS and with a Self-signed certificate therefore the Artifactory service connection is not trusting the certs. I would recommend referring to this JFrog Wiki and by adding the certs to the trusted directory of the JFrog CLI which is used in most of the Artifactory Azure tasks.
Upvotes: 1