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 "/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?
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 "/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?