From 474884acd796f1609dac2c44ff6aef216fe57625 Mon Sep 17 00:00:00 2001 From: Evan Cordell Date: Tue, 26 Apr 2016 19:46:25 -0500 Subject: [PATCH] Don't require certs for clair anymore --- util/secscan/validator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/util/secscan/validator.py b/util/secscan/validator.py index 44739a825..bd82cec26 100644 --- a/util/secscan/validator.py +++ b/util/secscan/validator.py @@ -57,9 +57,5 @@ class SecurityConfigValidator(object): logger.debug('ENDPOINT field in SECURITY_SCANNER configuration must start with http or https') return False - if endpoint.startswith('https://') and (self._certificate is False or self._keys is None): - logger.debug('Certificate and key pair required for talking to security worker over HTTPS') - return False - return True