fix skip-amt-algorithm
The r.certs[0].md field is null. Therefore, attempting to check if r.certs[0].md.algorithm is null will result in an error.
This commit is contained in:
parent
2bb65110f8
commit
cf8f4b682a
|
@ -262,7 +262,7 @@ module.exports.CertificateOperations = function (parent) {
|
|||
acmconfig.cn = certCommonName.value;
|
||||
}
|
||||
}
|
||||
if(r.certs[0].md.algorithm){
|
||||
if(r.certs[0].md){
|
||||
acmconfig.hashAlgorithm = r.certs[0].md.algorithm;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue