05-19-2013 08:32 PM
I am trying to generate an API key on a PA-2020 running software version 4.1.7.
I have tried using the default admin user and also an admin user with read-only access specifically created for API.
in both cases i get the message:
Authentication failed: Invalid username or password
the command i am using to generate the key is https://hostname/api/?type=keygen&user=username&password=password
05-20-2013 05:03 PM
i am able to logon directly via the WebUI on the firewall and access the dashboard with these same credentials
05-22-2013 10:18 AM
you can run:
> tail follow yes mp-log authd.log
and try your request to see if there is any information that may show the issue.
ms.log, php.debug.log and appWeb.log can also have useful information when debugging API usage.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!