summaryrefslogtreecommitdiffstats
path: root/src/bin/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/shell')
-rw-r--r--src/bin/shell/kea_connector2.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/shell/kea_connector2.py b/src/bin/shell/kea_connector2.py
index 47275ae3fc..e4c90004f9 100644
--- a/src/bin/shell/kea_connector2.py
+++ b/src/bin/shell/kea_connector2.py
@@ -15,6 +15,10 @@ from kea_conn import CAResponse # CARequest
def send_to_control_agent(params):
""" Sends a request to Control Agent, receives a response and returns it."""
+ # No HTTP support.
+ if params.ca or params.cert:
+ raise NotImplementedError('Python2 kea-shell does not support HTTPS')
+
# Establish HTTP connection first.
conn = httplib.HTTPConnection(params.http_host, params.http_port)
conn.connect()