I’m hoping that this is a typo, and you’re actually using Openfire 4.7.1 (3.7.1 is very old). For Openfire 4.3.1+, you can use this: https://discourse.igniterealtime.org/t/how-to-reset-admin-password-on-openfire-version-4-3-1. For older versions, you might need to re-run the installation (adding <setup>false</setup>
to the openfire.xml
file, and restart), or re-install Openfire completely.