registering cert passes
This commit is contained in:
parent
3f08d7d83f
commit
f06d25ab22
|
@ -214,9 +214,6 @@ module.exports.create = function (le) {
|
||||||
return core.getAcmeUrlsAsync(args).then(function (urls) {
|
return core.getAcmeUrlsAsync(args).then(function (urls) {
|
||||||
args._acmeUrls = urls;
|
args._acmeUrls = urls;
|
||||||
|
|
||||||
log(args.debug, 'BEFORE CERT');
|
|
||||||
log(args.debug, args);
|
|
||||||
throw new Error("Stop! Don't do it!");
|
|
||||||
var certReq = {
|
var certReq = {
|
||||||
debug: args.debug || le.debug
|
debug: args.debug || le.debug
|
||||||
|
|
||||||
|
@ -255,6 +252,9 @@ module.exports.create = function (le) {
|
||||||
le.challenge.remove(copy, domain, key, done);
|
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);
|
return le.acme.getCertificateAsync(certReq).then(utils.attachCertInfo);
|
||||||
});
|
});
|
||||||
}).then(function (results) {
|
}).then(function (results) {
|
||||||
|
|
Loading…
Reference in New Issue