<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    permissions are 755 for directories and 644 on wustl.cert<br>
    <br>
    <div class="moz-cite-prefix">On 02/02/2016 01:50 PM, Alex Afanasyev
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1C06C9C4-DDE4-4DCA-9A09-455D8F797D4A@cs.ucla.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On Feb 1, 2016, at 8:43 AM, Jyoti Parwatikar
            <<a moz-do-not-send="true" href="mailto:jp@wustl.edu"
              class="">jp@wustl.edu</a>> wrote:</div>
          <br class="Apple-interchange-newline">
          <div class=""><span style="font-family: Menlo-Regular;
              font-size: 14px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; orphans:
              auto; text-align: start; text-indent: 0px; text-transform:
              none; white-space: normal; widows: auto; word-spacing:
              0px; -webkit-text-stroke-width: 0px; background-color:
              rgb(255, 255, 255); float: none; display: inline
              !important;" class="">Yingdi,</span><br
              style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <br style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <span style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class="">This is the error message.</span><br
              style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <br style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <span style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class="">Cannot read certificate from file:
              /users/jp/ndn/JPChronolog/cfg-files/wustl.cert</span><br
              style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
          </div>
        </blockquote>
        <div><br class="">
        </div>
        <div>Can you also check that the directory permissions are right
          (= read and execute is for user, group, and others)?</div>
        <br class="">
        <blockquote type="cite" class="">
          <div class=""><br style="font-family: Menlo-Regular;
              font-size: 14px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; orphans:
              auto; text-align: start; text-indent: 0px; text-transform:
              none; white-space: normal; widows: auto; word-spacing:
              0px; -webkit-text-stroke-width: 0px; background-color:
              rgb(255, 255, 255);" class="">
            <span style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class="">-Jyoti</span><br style="font-family:
              Menlo-Regular; font-size: 14px; font-style: normal;
              font-variant: normal; font-weight: normal; letter-spacing:
              normal; orphans: auto; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal; widows:
              auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
              background-color: rgb(255, 255, 255);" class="">
            <br style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <div class="moz-cite-prefix" style="font-family:
              Menlo-Regular; font-size: 14px; font-style: normal;
              font-variant: normal; font-weight: normal; letter-spacing:
              normal; orphans: auto; text-align: start; text-indent:
              0px; text-transform: none; white-space: normal; widows:
              auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
              background-color: rgb(255, 255, 255);">On 01/31/2016 01:28
              AM, Yingdi Yu wrote:<br class="">
            </div>
            <blockquote
              cite="mid:52C055D9-8D8D-4628-ACD1-4F907D627ED8@cs.ucla.edu"
              type="cite" style="font-family: Menlo-Regular; font-size:
              14px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; orphans:
              auto; text-align: start; text-indent: 0px; text-transform:
              none; white-space: normal; widows: auto; word-spacing:
              0px; -webkit-text-stroke-width: 0px; background-color:
              rgb(255, 255, 255);" class="">Hi Jyoti,
              <div class=""><br class="">
              </div>
              <div class="">Could you also share the error msg? You can
                get that be catch std::runtime_error around load()
                method, and the print out e.what(), e.g.,</div>
              <div class=""><br class="">
              </div>
              <div class="">try {</div>
              <div class=""> <span class="Apple-converted-space"> </span>validator.load(…);</div>
              <div class="">}</div>
              <div class="">catch (const std::runtime_error& e) {</div>
              <div class=""> <span class="Apple-converted-space"> </span>std::cerr
                << e.what() << std::endl;</div>
              <div class="">}</div>
              <div class=""><br class="">
              </div>
              <div class="">The error message may help us to figure out
                what kind of error is detected. Thanks!</div>
              <div class=""><br class="">
                <div class=""><span class="Apple-style-span"
                    style="border-collapse: separate; font-family:
                    Helvetica; font-style: normal; font-variant: normal;
                    font-weight: normal; letter-spacing: normal;
                    line-height: normal; orphans: 2; text-align:
                    -webkit-auto; text-indent: 0px; text-transform:
                    none; white-space: normal; widows: 2; word-spacing:
                    0px; border-spacing: 0px;
                    -webkit-text-decorations-in-effect: none;
                    -webkit-text-stroke-width: 0px;"><span
                      class="Apple-style-span" style="border-collapse:
                      separate; font-family: Helvetica; font-style:
                      normal; font-variant: normal; font-weight: normal;
                      letter-spacing: normal; line-height: normal;
                      orphans: 2; text-align: -webkit-auto; text-indent:
                      0px; text-transform: none; white-space: normal;
                      widows: 2; word-spacing: 0px; border-spacing: 0px;
                      -webkit-text-decorations-in-effect: none;
                      -webkit-text-stroke-width: 0px;">
                      <div class="" style="word-wrap: break-word;
                        -webkit-nbsp-mode: space; -webkit-line-break:
                        after-white-space;">
                        <div class="">Yingdi</div>
                        <div class=""><br class="">
                        </div>
                      </div>
                    </span><br class="Apple-interchange-newline">
                  </span><br class="Apple-interchange-newline">
                </div>
                <br class="">
                <div class="">
                  <blockquote type="cite" class="">
                    <div class="">On Jan 30, 2016, at 7:47 AM, Junxiao
                      Shi <<a moz-do-not-send="true"
                        href="mailto:shijunxiao@email.arizona.edu"
                        class="" style="color: rgb(149, 79, 114);
                        text-decoration: underline;">shijunxiao@email.arizona.edu</a>>
                      wrote:</div>
                    <br class="Apple-interchange-newline">
                    <div class="">
                      <div link="blue" vlink="#954F72" class=""
                        lang="EN-US">
                        <div class="WordSection1" style="page:
                          WordSection1;">
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 11pt; font-family: Calibri,
                            sans-serif;" class="">Hi Jyoti<o:p class=""></o:p></div>
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 11pt; font-family: Calibri,
                            sans-serif;" class=""><o:p class=""> </o:p></div>
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 11pt; font-family: Calibri,
                            sans-serif;" class="">Your certificate file
                            and Unix permissions appear to be valid.</div>
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 11pt; font-family: Calibri,
                            sans-serif;" class=""><o:p class=""> </o:p></div>
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 11pt; font-family: Calibri,
                            sans-serif;" class="">Can Yingdi have a look
                            at this case?</div>
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 11pt; font-family: Calibri,
                            sans-serif;" class=""><o:p class=""> </o:p></div>
                          <div style="margin: 0in 0in 0.0001pt;
                            font-size: 11pt; font-family: Calibri,
                            sans-serif;" class="">Yours, Junxiao</div>
                          <div class="" style="border-style: solid none
                            none; border-top-color: rgb(225, 225, 225);
                            border-top-width: 1pt; padding: 3pt 0in
                            0in;">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 11pt; font-family: Calibri,
                              sans-serif; border: none; padding: 0in;"
                              class=""><br class="">
                              <b class="">From:<span
                                  class="Apple-converted-space"> </span></b><a
                                moz-do-not-send="true"
                                href="mailto:jp@wustl.edu" class=""
                                style="color: rgb(149, 79, 114);
                                text-decoration: underline;">Jyoti
                                Parwatikar</a><br class="">
                              <b class="">Sent:<span
                                  class="Apple-converted-space"> </span></b>Monday,
                              January 25, 2016 09:46<br class="">
                              <b class="">To:<span
                                  class="Apple-converted-space"> </span></b><a
                                moz-do-not-send="true"
                                href="mailto:shijunxiao@email.arizona.edu"
                                class="" style="color: rgb(149, 79,
                                114); text-decoration: underline;">Junxiao
                                Shi</a><br class="">
                              <b class="">Cc:<span
                                  class="Apple-converted-space"> </span></b><a
                                moz-do-not-send="true"
                                href="mailto:ndn-interest@lists.cs.ucla.edu"
                                class="" style="color: rgb(149, 79,
                                114); text-decoration: underline;">ndn-interest@lists.cs.ucla.edu</a><br
                                class="">
                              <b class="">Subject:<span
                                  class="Apple-converted-space"> </span></b>Re:
                              [Ndn-interest] using ValidatorConfig</div>
                          </div>
                          <p class="MsoNormal" style="margin: 0in 0in
                            0.0001pt; font-size: 11pt; font-family:
                            Calibri, sans-serif;"><span class=""
                              style="font-size: 12pt;"> </span></p>
                          <p class="MsoNormal" style="margin: 0in 0in
                            12pt; font-size: 11pt; font-family: Calibri,
                            sans-serif;"><span class=""
                              style="font-size: 12pt;">Hi Junxiao,<br
                                class="">
                              <br class="">
                              I just got back to working on this.<br
                                class="">
                              I suspect my certificate is probably
                              incorrect. When I step through the code,
                              it is failing to create the
                              IdentityCertificate from the file in 
                              ndn::security::conf::CheckerFactory::getSigner(const
                              ConfigSection&, const string&)<span
                                class="Apple-converted-space"> </span><br
                                class="">
                              I can see it read in from the
                              configuration file and it's reading the
                              other parameters fine. It's failing when
                              it hits the creation of the signer in the
                              checker.<br class="">
                              <br class="">
                              The process is run as me. And the
                              certificate file has permission 644.<span
                                class="Apple-converted-space"> </span><br
                                class="">
                              First line of certificate file:
                              Bv0C1QczCAV3dXN0bAgDS0VZCBFkc2stMTQ1Mjg3Mjk2ODQ2OAgHSUQtQ0VSVAgJ<br
                                class="">
                              <br class="">
                              My configuration file:<br class="">
                              rule<br class="">
                              {<br class="">
                                <span class="Apple-converted-space"> </span>id
                              "h1x1 data rule"<br class="">
                                <span class="Apple-converted-space"> </span>for
                              data<br class="">
                                <span class="Apple-converted-space"> </span>filter<br
                                class="">
                                <span class="Apple-converted-space"> </span>{<br
                                class="">
                                   <span class="Apple-converted-space"> </span>type
                              name<br class="">
                                   <span class="Apple-converted-space"> </span>name
                              /wustl/CHRONOLOG<br class="">
                                   <span class="Apple-converted-space"> </span>relation
                              is-prefix-of<br class="">
                                <span class="Apple-converted-space"> </span>}<br
                                class="">
                                <span class="Apple-converted-space"> </span>checker<br
                                class="">
                                <span class="Apple-converted-space"> </span>{<br
                                class="">
                                   <span class="Apple-converted-space"> </span>type
                              fixed-signer<br class="">
                                   <span class="Apple-converted-space"> </span>sig-type
                              rsa-sha256<br class="">
                                   <span class="Apple-converted-space"> </span>signer<br
                                class="">
                                   <span class="Apple-converted-space"> </span>{<br
                                class="">
                                      <span
                                class="Apple-converted-space"> </span>type
                              file<br class="">
                                      <span
                                class="Apple-converted-space"> </span>file-name
"/users/jp/ndn/JPChronolog/cfg-files/wustl.cert"<br class="">
                                   <span class="Apple-converted-space"> </span>}<br
                                class="">
                                <span class="Apple-converted-space"> </span>}<br
                                class="">
                              }<br class="">
                              <br class="">
                              -Jyoti<br class="">
                              <br class="">
                            </span><span class="" style="font-size:
                              12pt;"><o:p class=""></o:p></span></p>
                          <div class="">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 11pt; font-family: Calibri,
                              sans-serif;" class=""><span class=""
                                style="font-size: 12pt;">On 01/15/2016
                                12:20 PM, Junxiao Shi wrote:<o:p
                                  class=""></o:p></span></div>
                          </div>
                          <blockquote class="" style="margin-top: 5pt;
                            margin-bottom: 5pt;">
                            <div style="margin: 0in 0in 0.0001pt;
                              font-size: 11pt; font-family: Calibri,
                              sans-serif;" class=""><span class=""
                                style="font-size: 12pt;">Hi Jyoti<span
                                  class="Apple-converted-space"> </span><o:p
                                  class=""></o:p></span></div>
                            <div class="">
                              <p class="MsoNormal" style="margin: 0in
                                0in 0.0001pt; font-size: 11pt;
                                font-family: Calibri, sans-serif;"><span
                                  class="" style="font-size: 12pt;"> </span></p>
                            </div>
                            <div class="">
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 11pt; font-family: Calibri,
                                  sans-serif;" class=""><span class=""
                                    style="font-size: 12pt;">If giving
                                    the full path still doesn’t work,
                                    reply-all with the following:<o:p
                                      class=""></o:p></span></div>
                              </div>
                              <div class="">
                                <ul class="" style="margin-bottom: 0in;"
                                  type="disc">
                                  <li class="MsoNormal" style="margin:
                                    0in 0in 0.0001pt; font-size: 11pt;
                                    font-family: Calibri, sans-serif;"><span
                                      class="" style="font-size: 12pt;">the
                                      complete ValidatorConfig
                                      configuration<o:p class=""></o:p></span></li>
                                  <li class="MsoNormal" style="margin:
                                    0in 0in 0.0001pt; font-size: 11pt;
                                    font-family: Calibri, sans-serif;"><span
                                      class="" style="font-size: 12pt;">the
                                      code snippet that loads the
                                      configuration; in particular, is
                                      it loaded from a file or from a
                                      string<o:p class=""></o:p></span></li>
                                  <li class="MsoNormal" style="margin:
                                    0in 0in 0.0001pt; font-size: 11pt;
                                    font-family: Calibri, sans-serif;"><span
                                      class="" style="font-size: 12pt;">the
                                      full path of your certificate file<o:p
                                        class=""></o:p></span></li>
                                  <li class="MsoNormal" style="margin:
                                    0in 0in 0.0001pt; font-size: 11pt;
                                    font-family: Calibri, sans-serif;"><span
                                      class="" style="font-size: 12pt;">the
                                      first line of your certificate
                                      file (this helps determining
                                      whether you have the correct
                                      format in the certificate file)<o:p
                                        class=""></o:p></span></li>
                                  <li class="MsoNormal" style="margin:
                                    0in 0in 0.0001pt; font-size: 11pt;
                                    font-family: Calibri, sans-serif;"><span
                                      class="" style="font-size: 12pt;">what
                                      is the current working directory<o:p
                                        class=""></o:p></span></li>
                                  <li class="MsoNormal" style="margin:
                                    0in 0in 0.0001pt; font-size: 11pt;
                                    font-family: Calibri, sans-serif;"><span
                                      class="" style="font-size: 12pt;">what
                                      is the effective uid of the
                                      running program, and what Unix
                                      permissions does this uid have on
                                      the certificate file<o:p class=""></o:p></span></li>
                                </ul>
                              </div>
                              <div class="">
                                <p class="MsoNormal" style="margin: 0in
                                  0in 0.0001pt; font-size: 11pt;
                                  font-family: Calibri, sans-serif;"><span
                                    class="" style="font-size: 12pt;"> </span></p>
                              </div>
                              <div class="">
                                <div style="margin: 0in 0in 0.0001pt;
                                  font-size: 11pt; font-family: Calibri,
                                  sans-serif;" class=""><span class=""
                                    style="font-size: 12pt;">Yours,
                                    Junxiao<o:p class=""></o:p></span></div>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </div>
                <br class="">
              </div>
            </blockquote>
            <br style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <span style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class="">_______________________________________________</span><br
              style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <span style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class="">Ndn-interest mailing list</span><br
              style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <span style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class=""><a moz-do-not-send="true"
                href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a></span><br
              style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
            <span style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class=""><a moz-do-not-send="true"
                href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest"
                class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a></span><br
              style="font-family: Menlo-Regular; font-size: 14px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255);" class="">
          </div>
        </blockquote>
      </div>
      <br class="">
    </blockquote>
    <br>
  </body>
</html>