<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">G ‘Day Help Support,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">So I am trying to monitor a Domain Controller and can successfully Bind to port 389 with my credentials…<o:p></o:p></span></font></p>
<p class="MsoNormal"><b><font size="2" face="Calibri"><span style="font-size:11.0pt;font-weight:bold">$ /usr/local/nagios/libexec/check_ldap -H nwh-dc-03.mydomain.org -b "dc=mydomain,dc=org" -D svc_acct@nwh -P ******** -S -w 10 -c 20 -v<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font size="2" color="red" face="Calibri"><span style="font-size:11.0pt;color:red;font-weight:bold">LDAP OK - 0.014 seconds response time|time=0.014246s;10.000000;20.000000;0.000000<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">But when I attempt to connect using the same credentials but with the –ssl option I am getting the following error.<o:p></o:p></span></font></p>
<p class="MsoNormal"><b><font size="2" face="Calibri"><span style="font-size:11.0pt;font-weight:bold">$ /usr/local/nagios/libexec/check_ldap -H nwh-dc-03.mydomain.org -b "dc=mydomain,dc=org" -D svc_acct@nwh -P ******** -S -w 10 -c 20 -v<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font size="2" color="red" face="Calibri"><span style="font-size:11.0pt;color:red;font-weight:bold">ldap_bind: Can't contact LDAP server (-1)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font size="2" color="red" face="Calibri"><span style="font-size:11.0pt;color:red;font-weight:bold"> additional info: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed (unable to get local issuer
certificate)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font size="2" color="red" face="Calibri"><span style="font-size:11.0pt;color:red;font-weight:bold">Could not bind to the LDAP server<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">When I run a check_http to verify the certificate on port 636 I receive the following response:<o:p></o:p></span></font></p>
<p class="MsoNormal"><b><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";font-weight:bold">$ /usr/local/nagios/libexec/check_http -H nwh-dc-03.mydomain.org -C 30,1 -p 636<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font size="2" color="red" face="Calibri"><span style="font-size:11.0pt;color:red;font-weight:bold">SSL OK - Certificate 'Unknown CN' will expire on 2021-07-07 10:49 -0700/PDT.<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Can you help? Do I need to somehow get a copy of the certificate and add it to my Linux server? As I don’t see a switch to pass the certificate to the plugin…<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Thanks in advance,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Danny<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt;font-family:"Times New Roman",serif">Danny Gibson<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt;font-family:"Times New Roman",serif">Enterprise Monitoring</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt;font-family:"Times New Roman",serif">University of Washington Medicine<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt;font-family:"Times New Roman",serif">Mailbox # 359968<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt;font-family:"Times New Roman",serif">Seattle, WA 98104-2499<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt;font-family:"Times New Roman",serif">(206) 685-7783 Office<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Times New Roman"><span style="font-size:9.0pt;font-family:"Times New Roman",serif">(360) 761-8274 Cell<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><img width="97" height="97" id="Picture_x0020_2" src="cid:image003.png@01D7253C.6E736240" alt="http://images.pmeimg7.com/public/user_assets/ed480482-0063-4d9a-990d-9321960c1ab8/fy21_awq1_hammerhead-da727629.png"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this
email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the
sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents
of this information is strictly prohibited.</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
</div>
</body>
</html>