update comments
This commit is contained in:
parent
761202ae8e
commit
b5b516a131
|
@ -84,7 +84,7 @@ LeCore.registerNewAccount(options, cb) // returns "regr" registration dat
|
||||||
}
|
}
|
||||||
|
|
||||||
// Registration
|
// Registration
|
||||||
LeCore.getCertificate(options, cb) // returns (err, pems={ key, cert, ca })
|
LeCore.getCertificate(options, cb) // returns (err, pems={ privkey (key), cert, chain (ca) })
|
||||||
|
|
||||||
{ newAuthzUrl: '<url>' // specify acmeUrls.newAuthz
|
{ newAuthzUrl: '<url>' // specify acmeUrls.newAuthz
|
||||||
, newCertUrl: '<url>' // specify acmeUrls.newCert
|
, newCertUrl: '<url>' // specify acmeUrls.newCert
|
||||||
|
|
|
@ -22,6 +22,7 @@ module.exports.create = function (deps) {
|
||||||
var Acme = deps.Acme;
|
var Acme = deps.Acme;
|
||||||
var RSA = deps.RSA;
|
var RSA = deps.RSA;
|
||||||
|
|
||||||
|
// getCertificate // returns "pems", meaning "certs"
|
||||||
function getCert(options, cb) {
|
function getCert(options, cb) {
|
||||||
|
|
||||||
function bodyToError(res, body) {
|
function bodyToError(res, body) {
|
||||||
|
|
Loading…
Reference in New Issue