From 39e6754b1f49df8d452a471bcf1a9e2ce4360d5d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 27 Oct 2016 02:57:18 -0600 Subject: [PATCH] pass homedir --- bin/serve-https.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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