There is an issue when iterating over extensions where certificates might not have been issued in adherence with basic constraints. Here we log these errors instead of failing out right. (#770)

This commit is contained in:
kevgliss 2017-04-27 17:45:33 -07:00 committed by GitHub
parent 2b8c2f612e
commit fbc24ea400

View File

@ -292,6 +292,9 @@ class Certificate(db.Model):
current_app.logger.warning('Custom OIDs not yet supported for clone operation.')
except InvalidCodepoint as e:
current_app.logger.warning('Unable to parse extensions due to underscore in dns name')
except ValueError as e:
current_app.logger.warning('Unable to parse')
current_app.logger.exception(e)
return return_extensions