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:
parent
2b8c2f612e
commit
fbc24ea400
|
@ -292,6 +292,9 @@ class Certificate(db.Model):
|
||||||
current_app.logger.warning('Custom OIDs not yet supported for clone operation.')
|
current_app.logger.warning('Custom OIDs not yet supported for clone operation.')
|
||||||
except InvalidCodepoint as e:
|
except InvalidCodepoint as e:
|
||||||
current_app.logger.warning('Unable to parse extensions due to underscore in dns name')
|
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
|
return return_extensions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue