You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
927: Feature: Configuring rest components for TLS r=tiagolobocastro a=Johnaius
This PR configures components using rest protocols to speak tls. It is dependent on [this PR in extensions repo](openebs/mayastor-extensions#622).
### Rest-api Clients
- Modified certificate loading to use pkcs8_private_keys instead of rsa_private_keys. This was a change I made to get the generated certificates to work, they were apparently created in pkcs8 format, not rsa - I attempted to convert them with no luck, and found the pkcs8_private_keys in the [rustl-pemfile crate](https://docs.rs/rustls-pemfile/latest/rustls_pemfile/)...
### Csi-controller and Diskpool operator:
- Added support for TLS configuration based on CA certificate path.
- if certs are provided, use https, if not use http.
- error handling for HTTPS connections without a certificate etc
Co-authored-by: John Zakrzewski <[email protected]>
0 commit comments