jfrog / jfrog-azure-devops-extension

Apache License 2.0
47 stars 62 forks source link

how to solve certificate error on linux server #496

Open gtonti71 opened 4 months ago

gtonti71 commented 4 months ago

I am using the extension to install pip requirements using the task jFrogPip. The artifactory installation is an on-premise installation with a certificate for https done with an internal certification authority.

When I execute the task on a linux server I get the error: [Error] The following error was received while trying to encrypt your password: Get "https://xxxxx/artifactory/api/security/encryptedPassword" : tls: failed to verify certificate: x509: certificate signed by unknown authority

If I execute the task on a windows server it works fine (I think because the CA are installed in the windows certitification store).

How can I solve this? Should I copy the CA files on the server? in which format?

Jfrog PIP version --> 1.9.5 JFrog CLI version --> 2.56.1