A VM under Xen node was not up. The client has requested a reboot on the server. First check whether the Xencenter version is same as Xen node. Else it can cause encryption issues. Our windows rdp had a lesser version of the Xen installed, but again is unable to connect.
Fix
Access the server through console access,
and perform the below steps
# service xapissl stop
# mv /etc/xensource/xapi-ssl.pem /etc/xensource/xapi-ssl.pem.bak
# /opt/xensource/libexec/generate_ssl_cert “/etc/xensource/xapi-ssl.pem” ‘x.x.x.x’ (where x.x.x.x belongs to server’s IP)
# service xapissl start
# xe-toolstack-restart
Please note if the XenServer OS is old enough (~5.6), it may still generate a 512 bit key. You have to modify the shell script XenServer uses (/opt/xensource/libexec/generate_ssl_cert ) and find the section that reads:
openssl genrsa > privkey.rsa
openssl req -batch -new -x509 -key privkey.rsa -days 3650 -config config -out cert.csr
openssl dhparam 512 > dh.pem
Change it to the following:
openssl genrsa 1024 > privkey.rsa
openssl req -batch -new -x509 -key privkey.rsa -days 3650 -config config -out cert.csr
openssl dhparam 1024 > dh.pem