-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Running jf CLI via docker image throws certificate errors.
Current behavior
When I run any artifactory command (even jf rt ping) inside the latest docker image, I get
Get "https://myartifactory.company.com/api/system/ping": tls: failed to verify certificate: x509: certificate signed by unknown authority
If I exec into the container, and do apk update && apk upgrade, the error goes away.
Adding the cacert to ~/.jfrog/security/certs/ did not change anything
Reproduction steps
docker run -it --entrypoint="" docker run releases-docker.jfrog.io/jfrog/jfrog-cli-v2-jf jf rt -- ping --url=https://myartifactory.company.comExpected behavior
No certificate errors as I have the correct cacerts installed in the container.
JFrog CLI version
2.73.0
Operating system type and version
MacOS Sequoia 15.2
JFrog Artifactory version
No response
JFrog Xray version
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working