mirror of https://github.com/apache/cloudstack.git
[CLOUDSTACK-4832] no cert verification on https
This commit is contained in:
parent
f6c6f03fad
commit
10938612cc
|
|
@ -144,9 +144,9 @@ class cloudConnection(object):
|
|||
|
||||
try:
|
||||
if method == 'POST':
|
||||
response = requests.post(self.baseurl, params=payload)
|
||||
response = requests.post(self.baseurl, params=payload, verify=False)
|
||||
else:
|
||||
response = requests.get(self.baseurl, params=payload)
|
||||
response = requests.get(self.baseurl, params=payload, verify=False)
|
||||
except ConnectionError, c:
|
||||
self.logging.debug("Connection refused. Reason: %s : %s" %
|
||||
(self.baseurl, c))
|
||||
|
|
|
|||
Loading…
Reference in New Issue