diff --git a/packages/xo-web/src/common/intl/messages.js b/packages/xo-web/src/common/intl/messages.js index aae2c458fcf..09c8e762f4e 100644 --- a/packages/xo-web/src/common/intl/messages.js +++ b/packages/xo-web/src/common/intl/messages.js @@ -1016,6 +1016,8 @@ const messages = { hostSupportEnabled: 'XCP-ng Pro Support enabled on this host', noMoreMaintained: 'This host version is no longer maintained', pubKeyTooShort: 'TLS key is too small to update to XCP-ng 8.3', + longerCustomCertficate: 'If your certificate is custom, you need to install a new one with a key at least 2048 characters long.', + longerDefaultCertificate: 'If your certificate is the default self-signed certificate from host installation, you need to re-generate it from XCP-ng 8.2.1.', // ----- Host actions ------ disableMaintenanceMode: 'Disable maintenance mode', diff --git a/packages/xo-web/src/xo-app/home/host-item.js b/packages/xo-web/src/xo-app/home/host-item.js index 0f671ce9a8a..dbe0fdcdb4d 100644 --- a/packages/xo-web/src/xo-app/home/host-item.js +++ b/packages/xo-web/src/xo-app/home/host-item.js @@ -38,7 +38,6 @@ import styles from './index.css' import BulkIcons from '../../common/bulk-icons' import { LICENSE_WARNING_BODY } from '../host/license-warning' -// import { LICENSE_WARNING_BODY } from '../host/license-warning' import { getXoaPlan, SOURCES } from '../../common/xoa-plans' @addSubscriptions({ @@ -141,7 +140,8 @@ export default class HostItem extends Component { () => this.state.isHostTimeConsistentWithXoaTime, this._getAreHostsVersionsEqual, () => this.props.state.hostsByPoolId[this.props.item.$pool], - (needsRestart, host, isMaintained, isHostTimeConsistentWithXoaTime, isPubKeyTooShort, areHostsVersionsEqual, poolHosts) => { + () => this.props.isPubKeyTooShort, + (needsRestart, host, isMaintained, isHostTimeConsistentWithXoaTime, areHostsVersionsEqual, poolHosts, isPubKeyTooShort) => { const alerts = [] if (needsRestart) { @@ -206,22 +206,13 @@ export default class HostItem extends Component { level: 'warning', render: ( - {_('pubKeyTooShort')} ( + {_('pubKeyTooShort')} - - {_('actionsRestricted')} - {' '} - {_('counterRestrictionsOptions')} - ) ), })