explicitly define le-store directory
This commit is contained in:
parent
d9b20b5aeb
commit
267ff2486a
|
@ -1,6 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports.create = function (deps, config, netHandler) {
|
module.exports.create = function (deps, config, netHandler) {
|
||||||
|
var path = require('path');
|
||||||
var tls = require('tls');
|
var tls = require('tls');
|
||||||
var parseSni = require('sni');
|
var parseSni = require('sni');
|
||||||
var greenlock = require('greenlock');
|
var greenlock = require('greenlock');
|
||||||
|
@ -64,7 +65,12 @@ module.exports.create = function (deps, config, netHandler) {
|
||||||
}
|
}
|
||||||
, challengeType: 'http-01'
|
, challengeType: 'http-01'
|
||||||
|
|
||||||
, store: require('le-store-certbot').create({ debug: config.debug })
|
, store: require('le-store-certbot').create({
|
||||||
|
debug: config.debug
|
||||||
|
, configDir: path.join(require('os').homedir(), 'acme', 'etc')
|
||||||
|
, logDir: path.join(require('os').homedir(), 'acme', 'var', 'log')
|
||||||
|
, workDir: path.join(require('os').homedir(), 'acme', 'var', 'lib')
|
||||||
|
})
|
||||||
|
|
||||||
, approveDomains: function (opts, certs, cb) {
|
, approveDomains: function (opts, certs, cb) {
|
||||||
// This is where you check your database and associated
|
// This is where you check your database and associated
|
||||||
|
|
Loading…
Reference in New Issue