Certificate Error when Adding a XenServer to Virtual Machine Manager

Seaton007
CERTIFIED EXPERT
Published:
Every once-in-a-while, when you try to add a XenServer host to the System Center Virtual Machine Manager console, it will generate a certificate error, and the XenServer host will not be added to Virtual Machine Manager:
Certificate ErrorIf you are experiencing this issue when you try to add a XenServer host to System Center Virtual Machine Manager, here is the procedure you can follow to import the XenServer certificate to the the SCVMM server so that you can add the XenServer host to your System Center Virtual Machine Manager console.

1.

Open WinSCP and connect to your XenServer via SFTP using your root login:
WinSCP Connect

2.

Go up one directory level by clicking on the top folder in the pane on the right-hand side:
WinSCP Browse 1

3.

Then go to the etc folder:
WinSCP Browse 2

4.

Then go to the xensource folder:
WinSCP Browse 3

5.

Copy the xapi-ssl.cer file from the XenServer to you SCVMM server:
WinSCP Copy Certificate

6.

On your SCVMM server, rename the xapi-ssl.cer file to the FQDN of your XenServer (e.g. server.domain.local.cer)

7.

Click on the Start menu, then click on Run (or hit the Windows Key + R), and type mmc in the Run dialog box and hit OK:
Run MMC

8.

Click on FileAdd/Remove Snap-in... (or hit Ctrl + M):
Add Certificates Snap-in

9.

Click on Certificates, then click Add >:
Add Certificates Snap-in 2

10.

Select Computer account, then click Next:
Add Certificates Snap-in 3

11.

Select Local computer, then click Finish:
Add Certificates Snap-in 4

12.

Click OK:
Add Certificate Snap-in 5

13.

Expand Certificates (Local Computer)Trusted People:
Import Certificate 1

14.

Right-click on Certificates and select All TasksImport:
Import Certificate 2

15.

Click Next:
Import Certificate 3

16.

Click Browse:
Import Certificate 4

17.

Select the server.domain.local.cer file you copied to your SCVMM server, then click Open:
Import Certificate 5

18.

Click Next:
Import Certificate 6

19.

Select Place all certificates in the following store, and choose Trusted People as the Certificate store, then click Next:
Import Certificate 7

20.

Click Finish:
Import Certificate 8

21.

Click OK:
Import Certificate 9Once the certificate has been successfully imported to your SCVMM server, you should be able to add your XenServer host to the System Center Virtual Machine Manager console without any problem.
0
4,264 Views
Seaton007
CERTIFIED EXPERT

Comments (0)

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.