diff options
author | MichaelMorris <michael.morris@est.tech> | 2023-09-18 09:18:44 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2023-10-27 14:32:56 +0000 |
commit | 532abef3013434369b0d6a126b417db7b6134bd2 (patch) | |
tree | fd55c00a9c33bc1debfec3a6c2098264406f22ea /catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py | |
parent | c6d49ae4af0b13bd0f75a878ffa88487ef38afc2 (diff) |
TLS sdc-be-init: truststore & keystore handling
Issue-ID: SDC-4671
Change-Id: Iaa6e4810cb06cc44a393ca4fda561b24ec208711
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Diffstat (limited to 'catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py')
-rw-r--r-- | catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py b/catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py index 8ea1d1cf64..6f5cbe76d0 100644 --- a/catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py +++ b/catalog-be/src/main/resources/scripts/sdcBePy/consumers/run.py @@ -7,8 +7,8 @@ from sdcBePy.consumers.models.consumerCandidateList import get_consumers from sdcBePy.users.run import colors -def be_consumers_init(be_ip, be_port, header, protocol, consumer_candidate_list): - sdc_be_proxy = SdcBeProxy(be_ip, be_port, header, protocol) +def be_consumers_init(be_ip, be_port, header, protocol, tls_cert, tls_key, tls_key_pw, ca_cert, consumer_candidate_list): + sdc_be_proxy = SdcBeProxy(be_ip, be_port, header, protocol, tls_cert, tls_key, tls_key_pw, ca_cert) if check_backend(sdc_be_proxy, properties.retry_attempts): for consumer in consumer_candidate_list: if sdc_be_proxy.check_user(consumer.consumer_name) != 200: @@ -28,8 +28,8 @@ def be_consumers_init(be_ip, be_port, header, protocol, consumer_candidate_list) def main(): - be_ip, be_port, header, protocol = get_args() - be_consumers_init(be_ip, be_port, header, protocol, get_consumers()) + be_ip, be_port, header, protocol, tls_key, tls_cert, tls_key_pw, ca_cert = get_args() + be_consumers_init(be_ip, be_port, header, protocol, tls_cert, tls_key, tls_key_pw, ca_cert, get_consumers()) if __name__ == '__main__': |