Merge pull request #2204 from rmoesbergen/master

Bugfix: Prevent 'unserializable' error for unknown SAN types
This commit is contained in:
Curtis 2018-12-18 12:27:15 -08:00 committed by GitHub
commit 388699be7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})