mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 04:33:16 +03:00
Added indication of what certs are missing (#4299)
This commit is contained in:
parent
6d1dc263f4
commit
60e7509881
@ -991,7 +991,15 @@ module.exports.CertificateOperations = function (parent) {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
if (parent.configurationFiles != null) { console.log("Error: Vault/Database missing some certificates."); process.exit(0); return null; }
|
||||
if (parent.configurationFiles != null) {
|
||||
console.log("Error: Vault/Database missing some certificates.");
|
||||
if (r.root == null) { console.log(' Code signing certificate is missing.'); }
|
||||
if (r.web == null) { console.log(' HTTPS web certificate is missing.'); }
|
||||
if (r.mps == null) { console.log(' Intel AMT MPS certificate is missing.'); }
|
||||
if (r.agent == null) { console.log(' Server agent authentication certificate is missing.'); }
|
||||
if (r.codesign == null) { console.log(' Agent code signing certificate is missing.'); }
|
||||
process.exit(0); return null;
|
||||
}
|
||||
|
||||
console.log("Generating certificates, may take a few minutes...");
|
||||
parent.updateServerState('state', 'generatingcertificates');
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "meshcentral",
|
||||
"version": "1.0.57",
|
||||
"version": "1.0.58",
|
||||
"keywords": [
|
||||
"Remote Device Management",
|
||||
"Remote Device Monitoring",
|
||||
|
Loading…
Reference in New Issue
Block a user