oVirt / ovirt-engine-sdk-go

The generator of Go SDK for oVirt v4.0+
Apache License 2.0
19 stars 23 forks source link

Custom TLS configuration #235

Closed ghost closed 3 years ago

ghost commented 3 years ago

Description of the Change

This change allows for specifying a custom certpool or TLS configuration. Specifying a TLS configuration will override the internal logic and allow for hardening the TLS connection.

Alternate Designs

Benefits

Hardened TLS configuration, custom certificate loading.

Possible Drawbacks

The TLSConfig overrides the CACert and CAFile parameters, which may cause some confusion if someone uses this library directly.

Verification Process

This change was tested against a modified version of the go-ovirt-client test suite.

Applicable Issues

None.