diff --git a/README.md b/README.md index 30762c8..8eebda8 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ LeCore.registerNewAccount(options, cb) // returns "regr" registration dat } // Registration -LeCore.getCertificate(options, cb) // returns (err, pems={ key, cert, ca }) +LeCore.getCertificate(options, cb) // returns (err, pems={ privkey (key), cert, chain (ca) }) { newAuthzUrl: '' // specify acmeUrls.newAuthz , newCertUrl: '' // specify acmeUrls.newCert diff --git a/lib/get-certificate.js b/lib/get-certificate.js index 64a05fe..eaf9e6f 100644 --- a/lib/get-certificate.js +++ b/lib/get-certificate.js @@ -22,6 +22,7 @@ module.exports.create = function (deps) { var Acme = deps.Acme; var RSA = deps.RSA; + // getCertificate // returns "pems", meaning "certs" function getCert(options, cb) { function bodyToError(res, body) {