Recently, I encountered an issue with F5 Device Trust during implementation. I was getting Icontrol Authorization failed error while adding the device to the local device trust group
Step 1: Verify the username and password is correct
Step 2: Validate which port the HTTP Service is running on using:
#netstat -an | grep LISTEN | grep 443
If the HTTP service is running on another port, change it using these commands:
#tmsh modify sys httpd ssl-port 443
#tmsh restart sys service httpd
#tmsh save sys config
Step 3: Restart the Icontrol rest service
#tmsh restart sys service restjavad restnoded
#tmsh save sys config
In my case, the issue related to username and password.