merged
This commit is contained in:
commit
ce52a76f19
|
@ -136,7 +136,7 @@ function writeCertificateAsync(result, args, defaults, handlers) {
|
||||||
, privkeyPath: privkeyPath
|
, privkeyPath: privkeyPath
|
||||||
|
|
||||||
// some ambiguity here...
|
// some ambiguity here...
|
||||||
, privkey: result.key || result.privkey
|
, privkey: result.key || result.privkey || args.domainPrivateKeyPem
|
||||||
, fullchain: result.fullchain || result.cert
|
, fullchain: result.fullchain || result.cert
|
||||||
, chain: result.ca || result.chain
|
, chain: result.ca || result.chain
|
||||||
// especially this one... might be cert only, might be fullchain
|
// especially this one... might be cert only, might be fullchain
|
||||||
|
@ -156,6 +156,8 @@ function getCertificateAsync(account, args, defaults, handlers) {
|
||||||
}
|
}
|
||||||
|
|
||||||
args.domainPrivateKeyPem = domainKey.privateKeyPem;
|
args.domainPrivateKeyPem = domainKey.privateKeyPem;
|
||||||
|
args.account = account;
|
||||||
|
//args.registration = domainKey;
|
||||||
|
|
||||||
return LeCore.getCertificateAsync({
|
return LeCore.getCertificateAsync({
|
||||||
debug: args.debug
|
debug: args.debug
|
||||||
|
|
Loading…
Reference in New Issue