Hi Guys,
I followed the installation guide and run into a problem while using the intelmq-api to get a login token as mentioned here:
https://intelmq.readthedocs.io/en/maintenance/user/intelmq-api.html
I executed
curl --location --request POST
http://localhost/intelmq/v1/api/login/\
--header
"Content-Type: application/x-www-form-urlencoded"\
--data-urlencode
"username=$username"\
--data-urlencode
"password=$password"
And got the answer
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 80</address>
</body></html>
I’m running on Ubuntu 18.04 and used the native packages which I downloaded manually and installed them using dpkg.
I also noticed that my apache2 only got a conf file for intelmq-api.conf … shouldnt there be one for the intelmq itself when the curl statement on top is called?
PS: I’m new to intelmq and also not an Ubuntu specialist so please be gentle :D
Cheers
Chris