<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
I'm trying to use the 'check_ldap' plugin to monitor an instance of
an OpenLDAP server configured with StartTLS on port 389.<br>
In my Nagios host definition, I've set the adresse of the server to
a relative name such just 'servername' instead of full qualified
domain name.<br>
During the STARTTLS handshake the check plugin, return an error with
the following message :<br>
<br>
additional info: TLS: hostname does not match CN in peer
certificate<br>
<br>
Using relative domain name as address for host definition is
convenient and I can't use the full qualified domain name instead.<br>
<br>
Is there any way t disable SSL common name verification by using
extra opts ?<br>
<br>
<br>
Thanks by advance<br>
<br>
<div class="moz-signature">-- <br>
<p> </p>
<div><b>Pierre GINDRAUD</b></div>
<p> </p>
<p> </p>
<div>Mail : <a target="_blank" href="mailto:pgindraud@gmail.com">pgindraud@gmail.com</a></div>
<p> </p>
<div> <a href="https://twitter.com/PierreGindraud"><img
src="cid:part2.51C4366E.BD9ADE3C@gmail.com" alt="Twitter"
width="30" height="30"></a> <a
href="https://plus.google.com/116501681304840985858/"><img
src="cid:part4.6983FED3.5692A541@gmail.com" alt="Google
plus" width="30" height="30"></a> <a
href="https://www.linkedin.com/pub/pierre-gindraud/99/a15/871"><img
src="cid:part6.8BBA0AFD.E38E77F1@gmail.com" alt="Linkedin"
width="30" height="30"></a> <a
href="https://www.viadeo.com/fr/profile/pierre.gindraud"><img
src="cid:part8.AA126F0E.E3F02A0F@gmail.com" alt="Viadéo"
width="30" height="30"></a> </div>
<br>
</div>
</body>
</html>