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
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 Live Community as a whole!
The Live Community thanks you for your participation!