From 6577098a60ef0ca8f87e4451b28b40a88abc086b Mon Sep 17 00:00:00 2001
From: swee <meow@swee.codes>
Date: Tue, 4 Feb 2025 19:50:16 -0800
Subject: [PATCH] Update server.py

---
 server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.py b/server.py
index 6ddf5e2..5f2b0f2 100644
--- a/server.py
+++ b/server.py
@@ -846,7 +846,7 @@ def ssl_session(sock):
                 ctx = SSL.Context(SSL.SSLv23_METHOD)
                 ctx.set_options(SSL.OP_NO_SSLv2)
                 ctx.use_privatekey_file(ssl_pkey)
-                ctx.use_certificate_file(ssl_cert)
+                ctx.use_certificate_chain_file(ssl_cert)
                 conn = SSL.Connection(ctx, connection)
                 conn.set_accept_state()
                 conn.do_handshake()