fixed parsing of cert subject alt names