no backends
This commit is contained in:
parent
eaa58694f0
commit
9cd4be8bf6
|
@ -11,7 +11,7 @@ config.le.server = LE.stagingServer;
|
|||
//
|
||||
// Manual Registration
|
||||
//
|
||||
var le = LE.create(require('../backends/ursa'), config.le);
|
||||
var le = LE.create(config.le);
|
||||
le.backend.registerAsync({
|
||||
agreeTos: true
|
||||
, domains: ['example.com'] // CHANGE TO YOUR DOMAIN
|
||||
|
|
2
index.js
2
index.js
|
@ -6,7 +6,7 @@ var PromiseA = require('bluebird');
|
|||
var crypto = require('crypto');
|
||||
var tls = require('tls');
|
||||
var path = require('path');
|
||||
var leCore = require('./backends/letiny-core');
|
||||
var leCore = require('./lib/letiny-core');
|
||||
|
||||
var LE = module.exports;
|
||||
LE.productionServerUrl = leCore.productionServerUrl;
|
||||
|
|
|
@ -114,6 +114,7 @@ function getAccount(accountId, args, handlers) {
|
|||
if (!Object.keys(files).every(function (key) {
|
||||
return !files[key].error;
|
||||
})) {
|
||||
// TODO log renewal.conf
|
||||
console.warn("Account '" + accountId + "' was currupt. No big deal (I think?). Creating a new one...");
|
||||
return createAccount(args, handlers);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue