From: Francis Dupont Date: Wed, 24 Mar 2021 17:46:41 +0000 (+0100) Subject: [#1663] Almost finished X-Git-Tag: Kea-1.9.6~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7912a0857bb9e546ff07de32faa8d838aa209fea;p=thirdparty%2Fkea.git [#1663] Almost finished --- diff --git a/src/bin/shell/kea_connector3.py b/src/bin/shell/kea_connector3.py index 809776bced..526827f5eb 100644 --- a/src/bin/shell/kea_connector3.py +++ b/src/bin/shell/kea_connector3.py @@ -38,7 +38,7 @@ def send_to_control_agent(params): ssl_ctx = ssl.create_default_context(ssl.Purpose.SERVER_AUTH) ssl_ctx.load_verify_locations(cafile, capath) if params.cert: - ssl_ctx.load_cert_chain(param.cert[0], param.cert[1]) + ssl_ctx.load_cert_chain(params.cert[0], params.cert[1]) # Establish connection, send the request. resp = urllib.request.urlopen(req, context=ssl_ctx)