Setup: Three nodes, replication factor 3, yugabyte 2.6.0.0
Issue:
I have configured the encryption at transit for yugabyte cluster using below documentation.
(Encryption in transit on YugabyteDB Clusters | YugabyteDB Docs)
After enabling the encryption, I am not able to perform below operations
./bin/yb-admin -master_addresses $MASTER list_all_masters
./bin/yb-admin -master_addresses $MASTER list_all_tablet_servers
./bin/yb-admin -master_addresses $MASTER change_master_config REMOVE_SERVER $failedMaster 7100
./bin/yb-admin -master_addresses $MASTER change_master_config ADD_SERVER $newMaster 7100
getting the below error
“Unable to establish connection to leader master at [MASTERIP1:7100,MASTERIP2:7100,MASTERIP3:7100].
Please verify the addresses.\n\n: Could not locate the leader master: GetLeaderMasterRpc(addrs: [MASTERIP1:7100, MASTERIP2:7100, MASTERIP3:7100], num_attempts: 338)
passed its deadline 79595.999s (passed: 60.038s): Network error (yb/util/net/socket.cc:535):
recvmsg got EOF from remote (system error 108)\nTimed out (yb/rpc/rpc.cc:211):
Unable to establish connection to leader master at [MASTERIP1:7100,MASTERIP2:7100,MASTERIP3:7100].
Please verify the addresses.\n\n: Could not locate the leader master: GetLeaderMasterRpc(addrs: [MASTERIP1:7100, MASTERIP2:7100, MASTERIP3:7100]”
(Note: Actual IP’s are replaced with MASTERIP )
Note: with same setup, without enabling encryption at transit I was able to perform the above operations without any issues