Merge pull request #2204 from rmoesbergen/master
Bugfix: Prevent 'unserializable' error for unknown SAN types
This commit is contained in:
commit
388699be7c
|
@ -350,6 +350,7 @@ class SubjectAlternativeNameExtension(Field):
|
|||
value = value.dotted_string
|
||||
else:
|
||||
current_app.logger.warning('Unknown SubAltName type: {name}'.format(name=name))
|
||||
continue
|
||||
|
||||
general_names.append({'nameType': name_type, 'value': value})
|
||||
|
||||
|
|
Loading…
Reference in New Issue