CyberArk Jenkins Plugin Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CyberArk Jenkins Plugin Error

L0 Member

I am unable to make Jenkins use an SSH key stored in Conjur to access my worker nodes via the OpenStack Cloud plugin. From my perspective Jenkins should have access to the key in Conjur but is using it incorrectly to SSH to my worker nodes for some reason.

 

Jenkins launches worker nodes in OpenStack successfully and those nodes contain the correct SSH key. I can manually get a shell into these running nodes by ssh-ing into them using the same key Jenkins is configured to use (from my laptop). However, my Jenkins pipeline says there are no nodes available. Multiple nodes continuously spin up trying to take on the job. Since I've tested this key in various ways detailed below, I'm certain if Jenkins was able to use the key I've given to Conjur the SSH would work. However I'm unable to get any jobs to run with this config.

 

I do not think this is a problem with the OpenStack plugin.

 

- I have tried using this same SSH key as a Jenkins Credential and it works, just not when pulled from Conjur

- I have tested pulling the key directly from Conjur using the API and the same exact host/api-key that I've setup in the Jenkins configuration

- I have used the key pulled directly from the Conjur API in yet another Jenkins Credential (testing the exact value stored in Conjur) and this works

- I have tried copy/pasting the private SSH key into the Conjur web interface

- I have tried manually adding a blank line at the end of the key in the Conjur web interface

- I have validated that the key stored in Conjur has a blank line in it's returned value

- I have tried using the Conjur cli to upload the private key's contents directly to Conjur

 

When I try to access the secret through the Conjur plugin, Jenkins logs indicate a malformed url causing an exception in the plugin.

 

 

1 REPLY 1

L4 Transporter

Hi @Benjamin Krueger​ 

 

As the community has not answered this question for some time, could you kindly share if you could resolve this issue and how?

If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thanks,

Niv

  • 173 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!