vmware-tanzu / sources-for-knative

VMware-related event sources for Knative.
Apache License 2.0
27 stars 24 forks source link

How to establish TLS trust between a `VSphereSource` and a vCenter Server? #543

Open rguske opened 9 months ago

rguske commented 9 months ago

What needs to be configured for a VSphereSource to establish a full TLS trust when a vCenter Server uses a TLS certificate generated by an internal CA?

Basically, which requirements must be in place to use skipTLSVerify: false?

rguske commented 9 months ago

Could it be done similar to how it is done for a ApacheKafkaSource? Like Connecting to a TLS-enabled Kafka Broker.

gabo1208 commented 9 months ago

For this you'd want to divide this in two steps (assuming you already have the certs and all of that in the VSphere side configured):

This Connecting to a TLS-enabled Kafka Broker is how to do it the Knative way, but it implies changes on the VSphere Adapter code