summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/lcm/nf/biz/create_subscription.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lcm/lcm/nf/biz/create_subscription.py b/lcm/lcm/nf/biz/create_subscription.py
index e999d6ed..efec9250 100644
--- a/lcm/lcm/nf/biz/create_subscription.py
+++ b/lcm/lcm/nf/biz/create_subscription.py
@@ -55,7 +55,8 @@ class CreateSubscription:
"to %s" % self.callback_uri)
retry_count = 3
while retry_count > 0:
- response = requests.get(self.callback_uri, timeout=10)
+ requests.packages.urllib3.disable_warnings()
+ response = requests.get(self.callback_uri, timeout=10, verify=False)
if response.status_code == status.HTTP_204_NO_CONTENT:
return
logger.debug("callbackUri %s returns %s status code." % (self.callback_uri, response.status_code))