From 00f4ae384352fdbd741b09c9a7abe0ff027c3940 Mon Sep 17 00:00:00 2001 From: Igor Abdrakhimov <igorabd@amazon.com> Date: Wed, 27 Nov 2024 16:41:52 -0800 Subject: [PATCH] List ciphers --- .builder/actions/tls_server_setup.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.builder/actions/tls_server_setup.py b/.builder/actions/tls_server_setup.py index 27cbda9e8..c79d8525d 100644 --- a/.builder/actions/tls_server_setup.py +++ b/.builder/actions/tls_server_setup.py @@ -43,6 +43,19 @@ def run(self, env): for c in iter(lambda: p1.stderr.read(1), b""): sys.stdout.buffer.write(c) + + p1 = subprocess.Popen(["openssl.exe", "ciphers", "-s", "tls1_3", + ], cwd=dir, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + time.sleep(1) + p1.poll() + print("Return code for p1 is {}".format(p1.returncode)) + print("=== stdout 1:") + for c in iter(lambda: p1.stdout.read(1), b""): + sys.stdout.buffer.write(c) + print("=== stderr 1:") + for c in iter(lambda: p1.stderr.read(1), b""): + sys.stdout.buffer.write(c) + p = subprocess.Popen(["openssl.exe", "s_server", "-accept", "127.0.0.1:59443", "-key", "server.key",