Skip to content

Commit 92be735

Browse files
authored
[security] Require client certificate to connect to yugabyte sql interface (#1290)
1 parent cdec1f2 commit 92be735

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

deploy/services/helm-charts/dss/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ yugabyte:
6464
placement_cloud: "cloud-1"
6565
placement_region: "uss-1"
6666
placement_zone: "zone-1"
67+
use_client_to_server_encryption: true
68+
ysql_hba_conf_csv: 'hostssl all all 0.0.0.0/0 cert'
6769

6870
monitoring:
6971
enabled: false
@@ -269,4 +271,3 @@ grafana:
269271
persistence:
270272
type: pvc
271273
enabled: true
272-
>>>>>>> f3220540 ([helm] Add support for monitoring stack)

deploy/services/tanka/yugabyte-auxiliary.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ local yugabyteLB(metadata, name, ip) =
100100
--placement_zone=%s
101101
--use_private_ip=zone
102102
--node_to_node_encryption_use_client_certificates=true
103+
--ysql_hba_conf_csv='hostssl all all 0.0.0.0/0 cert'
103104
||| % [
104105
std.join(",", metadata.yugabyte.masterAddresses),
105106
metadata.yugabyte.tserver.rpc_bind_addresses,

0 commit comments

Comments
 (0)