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 Error]()
If 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:
2.
Go up one directory level by clicking on the top folder in the pane on the right-hand side:
3.
Then go to the
etc folder:
4.
Then go to the
xensource folder:
5.
Copy the
xapi-ssl.cer file from the XenServer to you SCVMM server:
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:
8.
Click on
File >
Add/Remove Snap-in... (or hit Ctrl + M):
9.
Click on
Certificates, then click
Add >:
10.
Select
Computer account, then click
Next:
11.
Select
Local computer, then click
Finish:
12.
Click
OK:
13.
Expand
Certificates (Local Computer) >
Trusted People:
14.
Right-click on
Certificates and select
All Tasks >
Import:
15.
Click
Next:
16.
Click
Browse:
17.
Select the
server.domain.local.cer file you copied to your SCVMM server, then click
Open:
18.
Click
Next:
19.
Select
Place all certificates in the following store, and choose
Trusted People as the Certificate store, then click
Next:
20.
Click
Finish:
21.
Click
OK:
![Import Certificate 9]()
Once 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.
Comments (0)