Skip to content

Instantly share code, notes, and snippets.

@gt50
Created August 3, 2015 20:52
Show Gist options
  • Save gt50/2699ee03ce253a32d979 to your computer and use it in GitHub Desktop.
Save gt50/2699ee03ce253a32d979 to your computer and use it in GitHub Desktop.
Xencenter connection fail with Windows 10
# Xencenter could not connect to some of my xenservers today. This is an issue with Windows 10 and 512 bit certificates for old version of xenserver.
# My recently built servers have 1024 bit certs. My old servers that have been upgraded several times had 512 bit certs from original installations.
# All of my servers are running 6.5 so the generate_ssl_cert is already set to 1024 default. If you are using older version, modify the script.
# view strength of certificate. If it is 512 it needs to be rebuilt to allow connection from Windows 10.
openssl x509 -in /etc/xensource/xapi-ssl.pem -text
mv /etc/xensource/xapi-ssl.pem xapi-ssl.pem.orig
# By default xenserver uses the ip address for container name on certificate
/opt/xensource/libexec/generate_ssl_cert /etc/xensource/xapi-ssl.pem 10.1.2.42
xe-toolstack-restart
@blechinger
Copy link

Fantastic. This was driving me nuts. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment