From b7242d19def6817228155bbb0fc3bdb5eacb1755 Mon Sep 17 00:00:00 2001 From: Ross Kruger Date: Mon, 24 Nov 2025 16:35:05 +0000 Subject: [PATCH] . --- ssl_check.spec | 38 ++++++++++++++++++++++++++++++++++++++ temp.log | 16 ++++++---------- 2 files changed, 44 insertions(+), 10 deletions(-) create mode 100644 ssl_check.spec diff --git a/ssl_check.spec b/ssl_check.spec new file mode 100644 index 0000000..405e758 --- /dev/null +++ b/ssl_check.spec @@ -0,0 +1,38 @@ +# -*- mode: python ; coding: utf-8 -*- + + +a = Analysis( + ['ssl_check.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + noarchive=False, + optimize=0, +) +pyz = PYZ(a.pure) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.datas, + [], + name='ssl_check', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +) diff --git a/temp.log b/temp.log index 35fe4dc..83186da 100644 --- a/temp.log +++ b/temp.log @@ -1,10 +1,6 @@ -2025-11-24 16:19:37.964 | DEBUG | __main__:ssl_check_ui:750 - Starting SSL check via UI -2025-11-24 16:19:37.966 | DEBUG | __main__:ssl_check_cmd:412 - ssl_check_cmd: host=www.penracourses.org.uk port=443 -2025-11-24 16:19:37.967 | DEBUG | __main__:ssl_check_cmd:416 - Running openssl: C:\Sybase\OCS-15_0\bin\openssl.EXE s_client -showcerts -connect www.penracourses.org.uk:443 -servername www.penracourses.org.uk -2025-11-24 16:19:39.200 | DEBUG | __main__:ssl_check_cmd:422 - OpenSSL finished, 170 bytes returned, rc=0 - - -CONNECTED(000002CC) - -Loading 'screen' into random state - done -5096:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:.\ssl\s23_clnt.c:596: \ No newline at end of file +PS T:\rad-tools\uploader\Uploader_test> .\ssl_check.exe --url http://www.penracourses.org.uk --cert-dir ./cert +Using openssl: C:\Sybase\OCS-15_0\bin\openssl.EXE +Server rejected legacy TLS; retrying with -tls1_2 +No certificate chain found from openssl (server may have rejected the handshake or openssl is incompatible) +Found 2 bundled cert files in cert +No server certs to compare; check network/openssl compatibility \ No newline at end of file