Merge branch 'master' of github.com:Daplie/le-challenge-fs

This commit is contained in:
AJ ONeal 2016-08-30 18:29:32 -06:00
commit 5172c2bcfb
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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) {