Don't require certs for clair anymore
This commit is contained in:
parent
822b253b85
commit
474884acd7
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue