Thursday, November 11, 2010

"The connection was reset" when remotely accessing VMware Server 2.0 Console

Problem:

I'm running the following:
  • VMware Server 2.0.2 and VMware Infrastructure Web Access 2.0.0 (on Oracle Enterprise Linux 5.5 x86_64)
  • Firefox 3.6.12 (on Windows XP SP3)
When I connect to the VMware console on http://myhost:8222 from the server, it works fine. But when I connect remotely, I receive the following error:
The connection was reset
The connection to the server was reset while the page was loading.
This despite the fact that I opened up the firewall on ports 8222, 8333, and 902.

Solution:

1.  Open Firefox, and in the URL, enter about:config and press ENTER

2. In the Filter, type security.enable_ssl2

3. Set the value to true (just double-click on the entry)

4. On your server, navigate to your VMware console page at https://myhost:8333

5. Click on Tools --> Page Info --> Security --> View Certificate --> Details --> Export

6. Export the certificate in X.509 Certificate format, and transfer it to your desktop

7. In Firefox on your desktop, click on Tools --> Options --> Advanced --> Encryption --> View Certificates --> Import

8. Import the certificate file

9. Make sure that your server firewall is open on ports 8222 and 8333

Applicable Versions:
  • VMware Server 2.0.2 and VMware Infrastructure Web Access 2.0.0 (on Oracle Enterprise Linux 5.5 x86_64)
  • Firefox 3.6.12 (on Windows XP SP3)
References:

http://tuxnetworks.blogspot.com/2010/03/vmware-server-console-connection-was.html

No comments: