summaryrefslogtreecommitdiffstats
path: root/vio
diff options
context:
space:
mode:
Diffstat (limited to 'vio')
-rw-r--r--vio/vio/swagger/views/proxyplugin/identity/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/vio/vio/swagger/views/proxyplugin/identity/views.py b/vio/vio/swagger/views/proxyplugin/identity/views.py
index 35abc4e..cee11e7 100644
--- a/vio/vio/swagger/views/proxyplugin/identity/views.py
+++ b/vio/vio/swagger/views/proxyplugin/identity/views.py
@@ -93,7 +93,7 @@ class TokenView(BaseClient):
logger.info("vimid(%(vimid)s) get keystone url %(url)s ",
{"vimid": vimid, "url": keystoneURL})
try:
- res = requests.get(url=keystoneURL)
+ res = requests.get(url=keystoneURL, verify=False)
if res.status_code != status.HTTP_200_OK:
return Response(data={"error": res.content},
status=res.status_code)
@@ -148,8 +148,8 @@ class TokenView(BaseClient):
{"vimid": vimid, "url": url})
try:
- res = requests.post(url=url, data=json.dumps(
- create_req), headers=headers)
+ res = requests.post(url=url, data=json.dumps(create_req),
+ headers=headers, verify=False)
if res.status_code != status.HTTP_201_CREATED:
return Response(data={"error": res.content},
status=res.status_code)