Cannot run appliance_console after fetch-key

I am running ivanchuk-7 release using Vagrant and Virtual Box. I updated keys from the database server and then cannot access the appliance_console at all. Reverting the key from a backup makes it correct again. But I want to use an external database server for my appliance.

[root@localhost certs]# appliance_console_cli --fetch-key 192.168.1.202
fetch encryption key
root@192.168.1.202's password:
[root@localhost certs]# appliance_console
Traceback (most recent call last):
        15: from /usr/local/bin/appliance_console:23:in `<main>'
        14: from /usr/local/bin/appliance_console:23:in `load'
        13: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:79:in `<top (required)>'
        12: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:80:in `<module:ManageIQ>'
        11: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:89:in `<module:ApplianceConsole>'
        10: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:89:in `loop'
         9: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:104:in `block in <module:ApplianceConsole>'
         8: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:206:in `database_host'
         7: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:198:in `current'
         6: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:194:in `decrypt_password'
         5: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:257:in `encrypt_decrypt_password'
         4: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:194:in `block in decrypt_password'
         3: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:97:in `try_decrypt'
         2: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:72:in `decrypt'
         1: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:40:in `decrypt'
/usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:43:in `rescue in decrypt': can not decrypt v2_key encrypted string (ManageIQ::Password::PasswordError)

[root@localhost certs]# mv v2_key.back v2_key
mv: overwrite ‘v2_key’? y
[root@localhost certs]# appliance_console
Welcome to the ManageIQ Virtual Appliance.

To modify the configuration, use a web browser to access the management page.

Hostname:                localhost.localdomain
IPv4 Address:            10.0.2.15/255.255.255.0
IPv4 Gateway:            10.0.2.2
IPv6 Address:
IPV6 Gateway:
Primary DNS:             10.0.2.3
Secondary DNS:
Search Order:            localdomain
MAC Address:             52:54:00:4b:dc:0d
Timezone:                America/New_York
Local Database Server:   running (primary)
ManageIQ Server:         running
ManageIQ Database:       localhost
Database/Region:         vmdb_production / 0
External Auth:           not configured
ManageIQ Version:        ivanchuk-7

Please help. I am trying to follow this guide to setup an HA for a POC.