Better ACM activation no cert match error.

This commit is contained in:
Ylian Saint-Hilaire 2021-07-09 15:58:54 -07:00
parent 913ed9f033
commit 9e61ac04f5
2 changed files with 1969 additions and 1962 deletions

View File

@ -1892,7 +1892,7 @@ module.exports.CreateAmtManager = function (parent) {
var trustedFqdn = null; var trustedFqdn = null;
if (dev.mpsConnection.tag.meiState.OsDnsSuffix != null) { trustedFqdn = dev.mpsConnection.tag.meiState.OsDnsSuffix; } if (dev.mpsConnection.tag.meiState.OsDnsSuffix != null) { trustedFqdn = dev.mpsConnection.tag.meiState.OsDnsSuffix; }
if (dev.mpsConnection.tag.meiState.DnsSuffix != null) { trustedFqdn = dev.mpsConnection.tag.meiState.DnsSuffix; } if (dev.mpsConnection.tag.meiState.DnsSuffix != null) { trustedFqdn = dev.mpsConnection.tag.meiState.DnsSuffix; }
dev.consoleMsg("No opportunity for ACM activation, trusted FQDN: " + ((trustedFqdn == null)?"(Not Set)":trustedFqdn)); dev.consoleMsg("No opportunity for ACM activation, trusted FQDN: " + ((trustedFqdn == null) ? "(Not Set)" : (trustedFqdn + ", HEX: " + Buffer.from(trustedFqdn).toString('hex'))));
removeAmtDevice(dev, 38); removeAmtDevice(dev, 38);
return false; // We are not in CCM and policy restricts use of CCM, so exit now. return false; // We are not in CCM and policy restricts use of CCM, so exit now.
} }

File diff suppressed because it is too large Load Diff