Attempting to Console Into a VM is Redirecting to Login Page

Problem 

When trying to console into a VM, instead of opening the console you are redirected to a login page with this URL:

https://<YourHostname>/accounts/login/?next=/servers/<IDofYourVM>/console/

Cause

The console is not encrypted, but can be easily updated.

Affected Versions

  • CloudBolt 9.4.5 +

Solution

Overview

All that is needed is to add a single line to your /var/opt/cloudbolt/proserv/customer_settings.py file.

  1. SSH to your CloudBolt instance

  2. cd to /var/opt/cloudbolt/proserv/

  3. Edit your customer_settings.py file with vi customer_settings.py

  4. Add the following line to the file:

    ENCRYPT_CONSOLE = True
  5. Save your changes in the file

  6. Restart apache with service httpd restart

  7. Consoling to your VMs should now work as expected!

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.