-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest jf docker image doesn't work with CA certificates #2832
Comments
Thank you for reporting this issue. I tried to reproduce the problem using the following command: docker run -it releases-docker.jfrog.io/jfrog/jfrog-cli-v2-jf jf rt ping --url=https://platform.jfrog.io/artifactory/ However, the command executed successfully without any certificate errors in my environment. Below is a screenshot of the output: To help debug further, could you please try the following steps:
docker --version && docker info | grep "Runtime"
Providing as much details as possible will help us solve this issue. |
Most likely the successive attempt was a success and at the end you get the command successful. |
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 getIf 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 anythingReproduction steps
docker run -it --entrypoint="" docker run releases-docker.jfrog.io/jfrog/jfrog-cli-v2-jf jf rt -- ping --url=https://myartifactory.company.com
Expected 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
The text was updated successfully, but these errors were encountered: