XOA Updater does no more work
-
Hi all,
after several months of inactivity I managed to update Xen Orchestra Appliance (Debian 9.9 based) but it does no more work due to connectivity issue.Infact 'xoa check' reports:
Node version
- xo-server config syntax
- Native SMB support
- Disk space for /var
- Disk space for /
- XOA version
- Appliance registration
- Internet connectivity: { Error: certificate has expired
at TLSSocket.<anonymous> (_tls_wrap.js:1116:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket.patchedError [as emit] (/usr/local/lib/node_modules/xoa-cli/dist/index.js:25:17)
at TLSSocket._finishInit (_tls_wrap.js:643:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:473:38) code: 'CERT_HAS_EXPIRED', url: 'https://xen-orchestra.com/' } - npm version
- XOA status: not up-to-date, please run xoa-updater
I generated a new self-signed cert using the "troubleshooting ssl section" instructions
https://xen-orchestra.com/docs/troubleshooting.html#configuration
$ cd /etc/ssl
$ cp cert.pem cert.pem-old
$ cp key.pem key.pem-old
$ openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -nodes -days 360
$ systemctl restart xo-server.servicebut it seems to affect only XO web interface.
Please let me know how to regenerate the correct cert or if I have to install a newer XO Appliance based on newer OS.
Thanks a lot in advance.
-
Hi,
XOA in Debian 9 is outdated/deprecated. You should export your config and import it on a freshly deployed XOA