Skip to content

Commit 422ec4c

Browse files
committed
MB-47316 Pass cert file to xdcr
Pass the path to a file containing the certificate needed to establish peer connections. Change-Id: I7e2e1ffe94aac7325f79e58b2b9bf3cd5f9d3f26 Reviewed-on: http://review.couchbase.org/c/ns_server/+/158225 Tested-by: Steve Watanabe <[email protected]> Tested-by: Build Bot <[email protected]> Well-Formed: Build Bot <[email protected]> Reviewed-by: Abhijeeth Nuthan <[email protected]>
1 parent 91d904d commit 422ec4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ns_ports_setup.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,8 @@ goport_args(goxdcr, Config, _Cmd, _NodeUUID) ->
379379
atom_to_list(cluster_compat_mode:is_enterprise()),
380380
build_port_args([{"-sourceKVAdminPort", rest_port},
381381
{"-xdcrRestPort", xdcr_rest_port}], Config) ++
382-
[IsEnterprise | build_afamily_requirement("-")];
382+
[IsEnterprise | build_afamily_requirement("-")] ++
383+
["-caFile=" ++ ns_ssl_services_setup:memcached_cert_path()];
383384

384385
goport_args(indexer, Config, _Cmd, NodeUUID) ->
385386
{ok, LogDir} = application:get_env(ns_server, error_logger_mf_dir),

0 commit comments

Comments
 (0)