use .certs instead of .pems

This commit is contained in:
AJ ONeal 2016-08-13 14:35:19 -06:00
parent 7c6c509313
commit d7ea101ae9
1 changed files with 3 additions and 1 deletions

View File

@ -258,8 +258,10 @@ module.exports.create = function (le) {
return le.acme.getCertificateAsync(certReq).then(utils.attachCertInfo);
});
}).then(function (results) {
// { cert, chain, privkey }
// { cert, chain, privkey /*TODO, subject, altnames, issuedAt, expiresAt */ }
args.certs = results;
// args.pems is deprecated
args.pems = results;
return le.store.certificates.setAsync(args).then(function () {
return results;