Skip to content

Enable mTLS configuration for ssh_proxy job - #1215

Open
jochenehret wants to merge 4 commits into
cloudfoundry:developfrom
jochenehret:mtls_for_ssh_access
Open

jochenehret wants to merge 4 commits into
cloudfoundry:developfrom
jochenehret:mtls_for_ssh_access

Conversation

@jochenehret

@jochenehret jochenehret commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Enable mTLS connection from ssh-proxy job to cloud controller (instead of plain http).

cloudfoundry/capi-release#701
cloudfoundry/cf-deployment#1381

Backward Compatibility

Breaking Change? No

@ameowlia ameowlia left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, just some small changes please.

  1. You changed go code, but there are no go tests. Please add tests.

  2. Invalid mTLS config (missing one of tls_port/ca_cert/client_cert/client_key) silently falls back to plain HTTP instead of erroring. This should cause errors asap. There should be basic validation in the template, and more complex validation in go.

  3. Give this new ca its own cert file instead of appending it to cc_api_ca_cert.

  4. add template tests for the new ca file since it has logic in it.

Ping me in slack when you make these changes so I can re-review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants