Jenkins-Octopus Error: "No usable version of the libssl was found"


I am using Octopus CLI v6.12.0. When my Jenkins jobs try to push a package to Octopus, it gives the error message “No usable version of libssl was found.” as shown below.

12:26:02 + /var/jenkins_home/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/Octo_CLI/Octo push --package aaa-distribution/target/aos-distribution.5.0.773.jar --replace-existing --server --apiKey ****
12:26:02 Octopus Deploy Command Line Tool, version 6.12.0
12:26:03 Detected automation environment: “Jenkins”
12:26:03 Detected automation environment: “Jenkins”
12:26:04 Space name unspecified, process will run in the default space context
12:26:04 Handshaking with Octopus Server:
12:26:04 Handshake successful. Octopus version: 2021.1.7149; API version: 3.0.0
12:26:04 Authenticated as: Jenkins (a service account)
12:26:04 Pushing package: /var/jenkins_home/workspace/AOS Distribution/aaa-distribution/target/aos-distribution.5.0.773.jar…
12:26:04 Requesting signature for delta compression from the server for upload of a package with id ‘aos-distribution’ and version ‘5.0.773’
12:26:07 Calculating delta
12:26:07 No usable version of the libssl was found
12:26:07 Aborted (core dumped)

I checked to make sure the Jenkins server has libssl installed, and it says it does.

$ ldconfig -p | grep libssl (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/

Any help to guide me along is very much appreciated.


Hi @blakee,

Thanks for getting in touch! We’ll certainly be happy to try to help in any way here. :slight_smile:

We’ve seen this issue in the past which required an install of libssl1.0 (similar to this issue). Quoting a comment in that linked issue, I believe this will be what’s required.

$ wget
$ sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu6_amd64.deb

Depending on your environment, this might also apply: If the target runtime environment's OpenSSL version is 1.1 or newer, you'll need to install compat-openssl10. (from this Microsoft doc page)

I had a quick look at the Octo CLI source code, and I believe we added support for libssl1.1 around July last year, so it might also be worth testing by upgrading the CLI to latest on your Jenkins server.

I hope something here helps! Please let us know how you go or if you have any questions or concerns going forward. :slight_smile:

Best regards,