<p>when testing against multiple domain certificates (where CN is not part of the cert but the hostnames are listed in the "Certificate Subject Alternative Names"-Extention):</p>

<p>2.0: "OK - Certificate 'Unknown CN' will expire on 12/16/2016 23:59."<br>
HEAD+<a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1174" class="issue-link" title="print subject name in certificate check">#1174</a>: "OK - Certificate '' will expire on Fri Dec 16 23:59:00 2016."</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1174#issuecomment-50449254">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMjI0MjA4NiwiZGF0YSI6eyJpZCI6MTc2MjQ5NTV9fQ==--fb6f30f6c50fcb3645008ec9250af8433945915f.gif" width="1" /></p>