microcluster icon indicating copy to clipboard operation
microcluster copied to clipboard

Client: Add websocket client and more control over the cert selection

Open roosterfish opened this issue 1 year ago • 1 comments

This PR adds a new client Websocket function that allows upgrading a HTTP connection using either the local or remote client.

Furthermore another RemoteClientWithCert app function is added which allows providing a custom remote server cert in case the remote is not using the common cluster cert. This is helpful during the pre-init phase (MicroCloud explicit trust establishment) as well as when trying to connect to additional servers making use of mTLS.

roosterfish avatar Aug 16 '24 12:08 roosterfish

@masnax do we also want another Websocket function in the client/client.go file?

roosterfish avatar Aug 16 '24 12:08 roosterfish