mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-15 16:53:14 -05:00
Merge pull request #5319 from si458/skip-amt-algorithm
if amt algorithm use it
This commit is contained in:
commit
f856b96aa5
@ -262,7 +262,9 @@ module.exports.CertificateOperations = function (parent) {
|
|||||||
acmconfig.cn = certCommonName.value;
|
acmconfig.cn = certCommonName.value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
acmconfig.hashAlgorithm = r.certs[0].md.algorithm;
|
if(r.certs[0].md.algorithm){
|
||||||
|
acmconfig.hashAlgorithm = r.certs[0].md.algorithm;
|
||||||
|
}
|
||||||
|
|
||||||
delete acmconfig.cert;
|
delete acmconfig.cert;
|
||||||
delete acmconfig.certpass;
|
delete acmconfig.certpass;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user