Issue warning when certificate has no subjectAltName

Related bug: #497