Skip to content

Commit feadbcd

Browse files
ajityagatyvzasade
authored andcommitted
MB-33300: Pass certFile & keyFile to projector.
The current plan for projector is to repurpose the existing projector port to host a TLS endpoint when cluster encryption level is set to 'all'. Hence passing the existing projector port as an HTTPS port as well. Change-Id: Ida58de321bc99567b33725a742132d1d91363ea4 Reviewed-on: http://review.couchbase.org/106027 Tested-by: Ajit Yagaty <[email protected]> Well-Formed: Build Bot <[email protected]> Reviewed-by: Artem Stemkovski <[email protected]>
1 parent 0113d57 commit feadbcd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ns_ports_setup.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,8 @@ goport_args(projector, Config, _Cmd, _NodeUUID) ->
375375
LocalMemcachedPort = service_ports:get_port(memcached_port, Config),
376376
MinidumpDir = path_config:minidump_dir(),
377377

378+
build_https_args(projector_port, "--httpsPort", "--certFile",
379+
"--keyFile", Config) ++
378380
["-kvaddrs=" ++ misc:local_url(LocalMemcachedPort, [no_scheme]),
379381
build_port_arg("-adminport", ":", projector_port, Config),
380382
"-diagDir=" ++ MinidumpDir,

0 commit comments

Comments
 (0)