diff --git a/bin/serve-https.js b/bin/serve-https.js index a83a879..44f4120 100755 --- a/bin/serve-https.js +++ b/bin/serve-https.js @@ -122,7 +122,7 @@ function createServer(port, pubdir, content, opts) { , 'dns-01': leChallengeDdns } , challengeType: (opts.tunnel ? 'http-01' : 'dns-01') - , store: require('le-store-certbot').create({ webrootPath: webrootPath }) + , store: require('le-store-certbot').create({ webrootPath: webrootPath, homedir: opts.homedir }) , webrootPath: webrootPath // You probably wouldn't need to replace the default sni handler