Homas / ioc2rpz

ioc2rpz is a place where threat intelligence meets DNS.
Apache License 2.0
105 stars 17 forks source link

Unable to access rest API's. Always throws authorisation Failure #16

Closed ghost closed 5 years ago

ghost commented 5 years ago

I have configured the ioc2rpz and ioc2rpz.gui following the instruction. Now whenever I try to hit the REST API's it always results into failure. I have tried with all the TSIG keys configured, but always getting the same error response. I don't know if its a bug or I am missing something, I need immediate help on this hence I am posting here. Any kind of help would be highly appreciated.

Here is the curl verbose output:

< {status: "error", msg: "Authentication failed"}

ghost commented 5 years ago

This is the curl command that I am using: curl -v -i -u "xxx_xxx_xxx_1:Zk3Lv0mu4wefKoM9C7Y5hQ==" --insecure -H "Accept: text/plain" https://XX.XXX.XXX.XXX:8443/api/v1.0/feed/dns-bh.ioc2rpz

Homas commented 5 years ago

Hi,

W/o looking on the ioc2rpz logs it is hard to say. There are 2 possible options:

BR, Vadim

ghost commented 5 years ago

Thanks for the reply.. it helped to resolve the issue.