Disable SSL cert verification
This commit is contained in:
		@@ -34,6 +34,11 @@ from faafo import version
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
from libcloud.storage.types import Provider
 | 
					from libcloud.storage.types import Provider
 | 
				
			||||||
from libcloud.storage.providers import get_driver
 | 
					from libcloud.storage.providers import get_driver
 | 
				
			||||||
 | 
					import libcloud.security
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Disable SSL verification.
 | 
				
			||||||
 | 
					# It would be better to add the certificate later.
 | 
				
			||||||
 | 
					libcloud.security.VERIFY_SSL_CERT = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LOG = log.getLogger('faafo.api')
 | 
					LOG = log.getLogger('faafo.api')
 | 
				
			||||||
CONF = cfg.CONF
 | 
					CONF = cfg.CONF
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user