<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div>Hi Sebastian,</div><div><br data-mce-bogus="1"></div><div> That seems to explain it. According to the logs I installed intelmq-manager first, then a few minutes later apache2. Maybe a "beware of this pitfall" is needed somewhere in the installation instructions or it's already there and I've just missed it?</div><div><br data-mce-bogus="1"></div><div>Br, Mika</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Sebastian Wagner" <wagner@cert.at><br><b>To: </b>"Mika Silander" <mika.silander@csc.fi>, "intelmq-dev" <intelmq-dev@lists.cert.at><br><b>Sent: </b>Thursday, 1 April, 2021 13:05:58<br><b>Subject: </b>Re: [IntelMQ-dev] intelmq-manager authentication issue on Ubuntu 20.04 LTS<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><p>Hi Mika,</p>
    <div class="moz-cite-prefix">On 4/1/21 12:00 PM, Mika Silander
      wrote:<br>
    </div>
    <blockquote cite="mid:480458932.15643373.1617271209598.JavaMail.zimbra@csc.fi">
      
      <div style="font-family: arial, helvetica, sans-serif; font-size:
        10pt; color: #000000">
        <div>Hi Sebastian,</div>
        <div><br>
        </div>
        <div> This time around I managed, yes, thanks. I'm not quite
          sure if this was a failure in the installation process
          (intelmq + intelmq api + intelmq-manager on Ubuntu 20.04 LTS)
          or just my error, but I had to manually tweak the symlinks
          below /etc/apache2/conf-available &
          /etc/apache2/conf-enabled. It was as if the symlink<br>
        </div>
      </div>
    </blockquote>
    <blockquote cite="mid:480458932.15643373.1617271209598.JavaMail.zimbra@csc.fi">
      <div style="font-family: arial, helvetica, sans-serif; font-size:
        10pt; color: #000000">
        <div>/etc/apache2/conf-available/manager-apache.conf ->
          ../../intelmq/manager-apache.conf</div>
        <div><br>
        </div>
        <div>were missing after the install.</div>
      </div>
    </blockquote>
    <p>In what order did you install the packages? If intelmq-manager
      was installed without apache2 being pre-installed, some links are
      missing because apache2 is not a hard-requirement
      (<a class="moz-txt-link-freetext" href="https://github.com/certtools/intelmq-manager/issues/246" target="_blank">https://github.com/certtools/intelmq-manager/issues/246</a>).</p>
    <p>Sebastian<br>
    </p>
    <blockquote cite="mid:480458932.15643373.1617271209598.JavaMail.zimbra@csc.fi">
      <div style="font-family: arial, helvetica, sans-serif; font-size:
        10pt; color: #000000">
        <div>Now with the symlinks</div>
        <div><br>
        </div>
        <div><span style="color: #000000; font-family: arial, helvetica,
            sans-serif; font-size: 13.3333px; font-style: normal;
            font-variant-ligatures: normal; font-variant-caps: normal;
            font-weight: 400; letter-spacing: normal; orphans: 2;
            text-align: start; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;
            -webkit-text-stroke-width: 0px; background-color: #ffffff;
            text-decoration-thickness: initial; text-decoration-style:
            initial; text-decoration-color: initial; display: inline
            !important; float: none;">/etc/apache2/conf-available/manager-apache.conf
            -> ../../intelmq/manager-apache.conf</span>
          <div style="clear: both;"><span style="color: #000000; font-family: arial, helvetica,
              sans-serif; font-size: 13.3333px; font-style: normal;
              font-variant-ligatures: normal; font-variant-caps: normal;
              font-weight: 400; letter-spacing: normal; orphans: 2;
              text-align: start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: 2; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: #ffffff;
              text-decoration-thickness: initial; text-decoration-style:
              initial; text-decoration-color: initial; display: inline
              !important; float: none;">/etc/apache2/conf-available/intelmq-api.conf
              -> ../../intelmq/api-apache.conf</span></div>
          <div style="clear: both;"><span><span><span style="color: #000000; font-family: arial, helvetica,
                  sans-serif; font-size: 13.3333px; font-style: normal;
                  font-variant-ligatures: normal; font-variant-caps:
                  normal; font-weight: 400; letter-spacing: normal;
                  orphans: 2; text-align: start; text-indent: 0px;
                  text-transform: none; white-space: normal; widows: 2;
                  word-spacing: 0px; -webkit-text-stroke-width: 0px;
                  background-color: #ffffff; text-decoration-thickness:
                  initial; text-decoration-style: initial;
                  text-decoration-color: initial; display: inline
                  !important; float: none;">/etc/apache2/conf-enabled/manager-apache.conf
                  -> ../conf-available/manager-apache.conf</span></span></span>
            <div style="clear: both;"><span style="color: #000000; font-family: arial, helvetica,
                sans-serif; font-size: 13.3333px; font-style: normal;
                font-variant-ligatures: normal; font-variant-caps:
                normal; font-weight: 400; letter-spacing: normal;
                orphans: 2; text-align: start; text-indent: 0px;
                text-transform: none; white-space: normal; widows: 2;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                background-color: #ffffff; text-decoration-thickness:
                initial; text-decoration-style: initial;
                text-decoration-color: initial; display: inline
                !important; float: none;">/etc/apache2/conf-enabled/intelmq-api.conf
                -> ../conf-available/intelmq-api.conf</span>
              <div style="clear: both;"><span style="font-size: 10pt;"><br>
                </span></div>
              <div style="clear: both;"><span style="font-size: 10pt;">suitable a2enconf invocations
                  and a restart of apache2, the system seems to work.</span><br>
              </div>
            </div>
            <div style="clear: both;"><br>
            </div>
            <div style="clear: both;">Br,
              Mika</div>
          </div>
        </div>
        <div><br>
        </div>
        <hr id="zwchr">
        <div><b>From: </b>"Sebastian Wagner"
          <a class="moz-txt-link-rfc2396E" href="mailto:wagner@cert.at" target="_blank"><wagner@cert.at></a><br>
          <b>To: </b>"Mika Silander" <a class="moz-txt-link-rfc2396E" href="mailto:mika.silander@csc.fi" target="_blank"><mika.silander@csc.fi></a>,
          "intelmq-dev" <a class="moz-txt-link-rfc2396E" href="mailto:intelmq-dev@lists.cert.at" target="_blank"><intelmq-dev@lists.cert.at></a><br>
          <b>Sent: </b>Thursday, 1 April, 2021 12:42:46<br>
          <b>Subject: </b>Re: [IntelMQ-dev] intelmq-manager
          authentication issue on Ubuntu 20.04 LTS<br>
        </div>
        <div><br>
        </div>
        <div>
          <p>Hi,</p>
          <p>Great to see that you could resolve the issue. Just
            responding to the other note:<br>
          </p>
          <div class="moz-cite-prefix">On 3/31/21 1:57 PM, Mika Silander
            wrote:<br>
          </div>
          <blockquote cite="mid:346444828.15262751.1617191849252.JavaMail.zimbra@csc.fi">
            <div style="font-family: arial, helvetica, sans-serif;
              font-size: 10pt; color: #000000">And another note: the
              earlier(?) path /usr/share/intelmq-manager is now
              /usr/share/intelmq_manager.  Don't know whether this has
              anything to do with this case ...</div>
          </blockquote>
          <p>The path /usr/share/intelmq-manager was used in the Debian
            packages for IntelMQ Manager < 2.3.0. That was changed
            for consistency to intelmq_manager in 2.3.0.</p>
          <p>Sebastian<br>
          </p>
          <pre class="moz-signature">-- 
// Sebastian Wagner <a class="moz-txt-link-rfc2396E" href="mailto:wagner@cert.at" target="_blank"><wagner@cert.at></a> - T: +43 1 5056416 7201
// CERT Austria - <a class="moz-txt-link-freetext" href="https://www.cert.at/" target="_blank">https://www.cert.at/</a>
// Eine Initiative der nic.at GmbH - <a class="moz-txt-link-freetext" href="https://www.nic.at/" target="_blank">https://www.nic.at/</a>
// Firmenbuchnummer 172568b, LG Salzburg</pre>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre">_______________________________________________
IntelMQ-dev mailing list
<a class="moz-txt-link-freetext" href="https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev" target="_blank">https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev</a>
<a class="moz-txt-link-freetext" href="https://intelmq.readthedocs.io/" target="_blank">https://intelmq.readthedocs.io/</a>
</pre>
    </blockquote>
    <pre class="moz-signature">-- 
// Sebastian Wagner <a class="moz-txt-link-rfc2396E" href="mailto:wagner@cert.at" target="_blank"><wagner@cert.at></a> - T: +43 1 5056416 7201
// CERT Austria - <a class="moz-txt-link-freetext" href="https://www.cert.at/" target="_blank">https://www.cert.at/</a>
// Eine Initiative der nic.at GmbH - <a class="moz-txt-link-freetext" href="https://www.nic.at/" target="_blank">https://www.nic.at/</a>
// Firmenbuchnummer 172568b, LG Salzburg</pre><br></div></div></body></html>