|
|
@@ -18,6 +18,7 @@ const PEM_PATH = path.join(ROOT_PATH, 'cert'); |
|
|
// 创建存储对象 |
|
|
// 创建存储对象 |
|
|
const leStore = GreenlockStoreFs.create({ |
|
|
const leStore = GreenlockStoreFs.create({ |
|
|
configDir: path.join(ROOT_PATH, 'letsencrypt'), |
|
|
configDir: path.join(ROOT_PATH, 'letsencrypt'), |
|
|
|
|
|
basePath: path.join(ROOT_PATH, 'letsencrypt'), |
|
|
}); |
|
|
}); |
|
|
// 创建验证对象 |
|
|
// 创建验证对象 |
|
|
const leHttpChallenge = LeChallengeFs.create({ |
|
|
const leHttpChallenge = LeChallengeFs.create({ |
|
|
|