As reported as a workaround to restAPI returning 302s, one needs to touch the restAPI.jar plugin to get Openfire to reload the plugin. The reproducing procedure seems to be
Openfire 4.9.2 , RestAPI Plugin 1.11.0
- Set adminConsole.access.allow-wildcards-in-excludes=true
- Observe the restapi works for a while
- A moon or two later, the restapi plugin stops working and always returns HTTP 302
- Touch the plugin jar file
touch /opt/openfire/lib/restAPI.jar and Openfire reloads the plugin
- restAPI plugin starts working again
My guess is that step 3 involves having Jetty restart with updated SSL certs...