mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
if amt algorithm use it
This commit is contained in:
parent
b1d2d1aea9
commit
68763137e9
1 changed files with 3 additions and 1 deletions
|
@ -262,7 +262,9 @@ module.exports.CertificateOperations = function (parent) {
|
|||
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.certpass;
|
||||
|
|
Loading…
Reference in a new issue