Hello,
I have a small cluster with three virtual machines running rqlited secured with different self signed certificates and basic auth as the following:
$HOME/bin/rqlited -auth auth.json -http-addr
10.10.180.61:4001 -raft-addr
10.10.180.61:4002 -http-cert server.crt -http-key server.key -node-encrypt -node-cert server.crt -node-key server.key -http-no-verify ~/node.1 > /tmp/node.1.log
The things works but I have the following issue, when I try to query other node than the leader the redirection return the redirected link always as http and not as https as I expected.
The relevant part of the response is:
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Content-Type: application/json; charset=utf-8
< X-Rqlite-Version: 5
< Date: Wed, 23 Sep 2020 04:36:01 GMT
< Content-Length: 0
This also seems to affect the rqlite console, eg:
ubuntu@node1:~$ rqlite -i -s https -H 10.10.180.62 -u root:1234
Welcome to the rqlite CLI. Enter ".help" for usage hints.
ERR! server responded with: 400 Bad Request
Thanks.