Skip to content
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

Can jfrog plugin integrate OSX jenkins nodes with artifactory server using certifacates signed by an internal CA? #83

Open
alexkara86 opened this issue Oct 6, 2023 · 0 comments
Labels
question Further information is requested

Comments

@alexkara86
Copy link

How can we help?

Environment
jenkins server version: 2.401.3
jfrog plugin for jenkins version: 1.5.0
osx version: Ventura 13.4
jdk version: openjdk version "11.0.20" 2023-07-18

Error
The following error was received while trying to encrypt your password: Get "<SERVER_URL>/artifactory/api/security/encryptedPassword": x509: certificate signed by unknown authority

I have added Artifactory server's internally signed certificate in the machines keychain, in the keystore of the JDK used by the jenkins node and also in ~/.jfrog/security/certs as its documented by jfrog.

When I run the jf command directly from the node's terminal I face no problem. When I run the same command from a jenkins pipeline using the plugin I get the error I copied above.

Can you please let me know if this plugin as is supports certificates signed by an internal CA ?
Its interesting that for us its working fine for windows and ubuntu nodes but not for macOS. Is it a limitation that only affects macOS nodes?

@alexkara86 alexkara86 added the question Further information is requested label Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant