registering cert passes

This commit is contained in:
AJ ONeal 2016-08-09 15:10:44 -04:00
parent 3f08d7d83f
commit f06d25ab22
1 changed files with 3 additions and 3 deletions

View File

@ -214,9 +214,6 @@ module.exports.create = function (le) {
return core.getAcmeUrlsAsync(args).then(function (urls) {
args._acmeUrls = urls;
log(args.debug, 'BEFORE CERT');
log(args.debug, args);
throw new Error("Stop! Don't do it!");
var certReq = {
debug: args.debug || le.debug
@ -255,6 +252,9 @@ module.exports.create = function (le) {
le.challenge.remove(copy, domain, key, done);
};
log(args.debug, 'BEFORE GET CERT');
log(args.debug, certReq);
return le.acme.getCertificateAsync(certReq).then(utils.attachCertInfo);
});
}).then(function (results) {