How to connect an HTTPS Client controller to CJOC?

1 minute read

Issue

  • I want to configure Client controller with HTTPS and connect it to a CJOC

Resolution

CJOC is not a HTTPS/SSL/TLS endpoint

CJOC does not initiate the connection to the controller, so it doesn’t care if the controller is on HTTPS or HTTP.

CJOC is a HTTPS/SSL/TLS endpoint

The Client controller initiates the connection to CJOC. In order for the Client controller to discover the agent port that CJOC is listening on you need to give the controller the TLS cert of CJOC.

You can manually add the certificates to the controller’s trust store following the documentation.

CloudBees Core on modern cloud platforms or CloudBees Jenkins Enterprise 2.x

CloudBees Core on traditional platforms or CloudBees Jenkins Platform:

CloudBees Jenkins Enterprise 1.x