<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Interesting, it gives me back the wrong
      certificate!?<br>
      <br>
      depth=0
/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/emailAddress=root@localhost.localdomain<br>
      verify error:num=18:self signed certificate verify return:1<br>
      <br>
      How can we check the right certificate ?<br>
      Again, if we check the page via browser, the correct certificate
      will be used.<br>
      <br>
      Thank you for your help!<br>
      <br>
      <br>
      Maik<br>
      <br>
      <div class="moz-signature">..............................
        <wbr>
        ..............................
        <wbr>
        ......
        <br>
        Heinelt Maik | Software Developer
        <br>
        ハイネルト マイク
        <br>
        愛知県一宮市富士2-2-22
        <br>
        株式会社 ベガシステムズ
        <br>
        TEL: <a target="_blank" href="callto://0586-71-3903">0586-71-3903</a>
        FAX: <a target="_blank" href="callto://0586-71-4071">0586-71-4071</a>
        <br>
        <a target="_blank" href="http://www.vegasystems.com">http://www.vegasystems.com</a>
        <br>
        Skype ID: daliose
        <br>
        ..............................
        <wbr>
        ..............................
        <wbr>
        ......
        <br>
        DISCLAIMER: This information is confidential and is intended
        only for
        <br>
        the use of the individual or entity named above. If the reader
        of this
        <br>
        message is not the intended recipient, please disregard and
        destroy this
        <br>
        email and its content. Thank you
      </div>
      On 2012/09/12 23:34, Larry Barber wrote:<br>
    </div>
    <blockquote
cite="mid:CAOnF4RCu5GYDFWNaTAbgkDW6xvZCd1gK4TcNyHYTrgb5xeZ0Qw@mail.gmail.com"
      type="cite">Try running this command:<br>
      <br>
      /usr/bin/openssl s_client -showcerts -connect <hostname>:443<br>
      <br>
      It will return the entire certificate chaing for the given host. <br>
      <br>
      Thanks,<br>
      Larry Barber<br>
      <br>
      <br>
      <div class="gmail_quote">
        On Wed, Sep 12, 2012 at 1:59 AM, Maik Heinelt <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:maik@vegasystems.com"
            target="_blank">maik@vegasystems.com</a>></span> wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div>No, it is a virtual host configured apache and no
              redirection.<br>
              <br>
              Thanks<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Maik Heinelt</font></span>
              <div>
                <div class="h5"><br>
                  <div><br>
                  </div>
                  On 2012/09/12 11:27, Larry Barber wrote:<br>
                </div>
              </div>
            </div>
            <div>
              <div class="h5">
                <blockquote type="cite">Is the page a redirect from
                  another server? Xymon only returns the HTML headers
                  for the first server it hits. <br>
                  <br>
                  Thanks,<br>
                  Larry Barber<br>
                  <br>
                  <div class="gmail_quote">On Tue, Sep 11, 2012 at 6:23
                    PM, Maik Heinelt <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:maik@vegasystems.com"
                        target="_blank">maik@vegasystems.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">We
                      use Xymon for testing a couple SSL certificates.<br>
                      For most of our pages, the test shows the right
                      certificate, but for 4-5 pages, the test shows the
                      localhost@localdomain certificate.<br>
                      For sure, if we check the page online, it uses the
                      correct certificate.<br>
                      <br>
                      Any idea, why this happen only just for some of
                      the pages?<br>
                      <br>
                      The host.conf entry looks same for all pages.<br>
                      <br>
                      XXX.XXX.XXX.XXX   <a moz-do-not-send="true"
                        href="https://mypage.com" target="_blank">https://mypage.com</a><br>
                      <br>
                      Maik<br>
                      _______________________________________________<br>
                      Xymon mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.xymon.com/mailman/listinfo/xymon"
                        target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
                    </blockquote>
                  </div>
                  <br>
                </blockquote>
                <br>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          Xymon mailing list<br>
          <a moz-do-not-send="true" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
          <a moz-do-not-send="true"
            href="http://lists.xymon.com/mailman/listinfo/xymon"
            target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
          <br>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>