[check_ldap] Disable SSL common name verification

Pierre GINDRAUD pgindraud at gmail.com
Sat May 14 21:09:25 CEST 2016


Hello,

I'm trying to use the 'check_ldap' plugin to monitor an instance of an OpenLDAP server configured with StartTLS on port 389.
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.
During the STARTTLS handshake the check plugin, return an error with the following message :

    additional info: TLS: hostname does not match CN in peer certificate

Using relative domain name as address for host definition is convenient and I can't use the full qualified domain name instead.

Is there any way t disable SSL common name verification by using extra opts ?


Thanks by advance

-- 

*Pierre GINDRAUD*

Mail : pgindraud at gmail.com <mailto:pgindraud at gmail.com>

Twitter <https://twitter.com/PierreGindraud> Google plus <https://plus.google.com/116501681304840985858/> Linkedin <https://www.linkedin.com/pub/pierre-gindraud/99/a15/871>
Viadéo <https://www.viadeo.com/fr/profile/pierre.gindraud>
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160514/30298441/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter_30x30.png
Type: image/png
Size: 1948 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160514/30298441/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: google_plus_30x30.png
Type: image/png
Size: 2395 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160514/30298441/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin_30x30.png
Type: image/png
Size: 2225 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160514/30298441/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: viadeo_30x30.png
Type: image/png
Size: 2101 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160514/30298441/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160514/30298441/attachment.sig>


More information about the Help mailing list