From d7ea101ae98879f42b3b9ce5e7b93c0bb7415634 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 13 Aug 2016 14:35:19 -0600 Subject: [PATCH] use .certs instead of .pems --- lib/core.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;