Merge branch 'master' of github.com:Daplie/le-challenge-fs
This commit is contained in:
commit
5172c2bcfb
@ -3,6 +3,7 @@
|
|||||||
| [letsencrypt](https://github.com/Daplie/node-letsencrypt) (library)
|
| [letsencrypt](https://github.com/Daplie/node-letsencrypt) (library)
|
||||||
| [letsencrypt-cli](https://github.com/Daplie/letsencrypt-cli)
|
| [letsencrypt-cli](https://github.com/Daplie/letsencrypt-cli)
|
||||||
| [letsencrypt-express](https://github.com/Daplie/letsencrypt-express)
|
| [letsencrypt-express](https://github.com/Daplie/letsencrypt-express)
|
||||||
|
| [letsencrypt-cluster](https://github.com/Daplie/letsencrypt-cluster)
|
||||||
| [letsencrypt-koa](https://github.com/Daplie/letsencrypt-koa)
|
| [letsencrypt-koa](https://github.com/Daplie/letsencrypt-koa)
|
||||||
| [letsencrypt-hapi](https://github.com/Daplie/letsencrypt-hapi)
|
| [letsencrypt-hapi](https://github.com/Daplie/letsencrypt-hapi)
|
||||||
|
|
|
|
||||||
@ -57,3 +58,4 @@ For ACME Challenge:
|
|||||||
For node-letsencrypt internals:
|
For node-letsencrypt internals:
|
||||||
|
|
||||||
* `getOptions()` returns the internal defaults merged with the user-supplied options
|
* `getOptions()` returns the internal defaults merged with the user-supplied options
|
||||||
|
* `loopback(defaults, domain, key, value, done)` test, by external means, that the ACME server's challenge server will succeed
|
||||||
|
1
index.js
1
index.js
@ -40,6 +40,7 @@ Challenge.create = function (options) {
|
|||||||
//
|
//
|
||||||
Challenge.set = function (args, domain, challengePath, keyAuthorization, done) {
|
Challenge.set = function (args, domain, challengePath, keyAuthorization, done) {
|
||||||
var mkdirp = require('mkdirp');
|
var mkdirp = require('mkdirp');
|
||||||
|
keyAuthorization = String(keyAuthorization);
|
||||||
|
|
||||||
mkdirp(args.webrootPath, function (err) {
|
mkdirp(args.webrootPath, function (err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user