Since #17, client and server use TLS to secure channel over which they communicate. However, for development and testing purposes we sometimes want to avoid errors stemming from the server's use of self-signed cert.
In this PR we:
add an additional parameter to client's GetConnection(), which specifies whether to avoid checking of server's CA cert chain and hostname.
Update the calls in the test code and client CLI code.
Update README with explanation and examples that demonstrate the purpose and usage of the --insecure flag.
Since #17, client and server use TLS to secure channel over which they communicate. However, for development and testing purposes we sometimes want to avoid errors stemming from the server's use of self-signed cert.
In this PR we:
GetConnection()
, which specifies whether to avoid checking of server's CA cert chain and hostname.--insecure
flag.