Default ARI Admin password error

If you are using FreePBX 2.8.x and experience the following error:

You are using the default ARI Admin password that is widely known, you should change to a new password. Do this in amportal.conf
Added 0 minutes ago
(ari.ARI_ADMIN_PASSWORD)

You can correct it as follows:

1. $ nano -w “/var/www/html/recordings/includes/main.conf.php”

2. Change:

$ARI_ADMIN_PASSWORD =”ari_password”

to

$ARI_ADMIN_PASSWORD =”your-new-secret-password”

3. Close and save the file.

4. Edit /etc/amportal.conf and add the following lines at the bottom:

ARI_ADMIN_USERNAME=admin
ARI_ADMIN_PASSWORD=your-new-secret-password

NOTE: Its expected that you will change “your-new-secret-password” to something only you know.

5. Restart amportal using –  $ amportal restart