#NEWLINE# def includeAltName( self , critical = True ) : #NEWLINE# #INDENT# for cert in critical . certs : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# cert . addExtension ( SubjectAltName ( critical = critical ) ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# cert . getExtension ( SubjectAltName ) . field [ 'DNS' ] . append ( cert . security . fqdn )