This commit is contained in:
AJ ONeal 2015-12-20 02:05:25 +00:00
commit ce52a76f19
1 changed files with 3 additions and 1 deletions

View File

@ -136,7 +136,7 @@ function writeCertificateAsync(result, args, defaults, handlers) {
, privkeyPath: privkeyPath
// some ambiguity here...
, privkey: result.key || result.privkey
, privkey: result.key || result.privkey || args.domainPrivateKeyPem
, fullchain: result.fullchain || result.cert
, chain: result.ca || result.chain
// 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.account = account;
//args.registration = domainKey;
return LeCore.getCertificateAsync({
debug: args.debug