add back getCert
This commit is contained in:
parent
64f1b71b4f
commit
9de9c90061
|
@ -10,5 +10,8 @@
|
||||||
exports.Acme = require('acme-client');
|
exports.Acme = require('acme-client');
|
||||||
exports.registerNewAccount = require('register-new-account');
|
exports.registerNewAccount = require('register-new-account');
|
||||||
exports.getCertificate = require('get-certificate');
|
exports.getCertificate = require('get-certificate');
|
||||||
exports.getCert=function (options) {
|
exports.getCert=function (options, cb) {
|
||||||
|
exports.registerNewAccount(options, function () {
|
||||||
|
exports.getCertificate(options, cb);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue