diff --git a/lib/core.js b/lib/core.js index 6ee4501..7c45162 100644 --- a/lib/core.js +++ b/lib/core.js @@ -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;