Merge pull request #56 from insightfuls/tls-sni

use le-challenge-sni for tls-sni-01 challenges
This commit is contained in:
AJ ONeal 2016-10-10 12:39:46 -06:00 committed by GitHub
commit bc884ccd77
2 changed files with 5 additions and 2 deletions

View File

@ -82,7 +82,7 @@ LE.create = function (le) {
le.challenges['http-01'] = require('le-challenge-fs').create({ debug: le.debug }); le.challenges['http-01'] = require('le-challenge-fs').create({ debug: le.debug });
} }
if (!le.challenges['tls-sni-01']) { if (!le.challenges['tls-sni-01']) {
le.challenges['tls-sni-01'] = le.challenges['http-01']; le.challenges['tls-sni-01'] = require('le-challenge-sni').create({ debug: le.debug });
} }
if (!le.challenges['dns-01']) { if (!le.challenges['dns-01']) {
try { try {

View File

@ -29,7 +29,9 @@
"url": "https://github.com/Daplie/node-letsencrypt/issues" "url": "https://github.com/Daplie/node-letsencrypt/issues"
}, },
"homepage": "https://github.com/Daplie/node-letsencrypt#readme", "homepage": "https://github.com/Daplie/node-letsencrypt#readme",
"devDependencies": {}, "devDependencies": {
"request": "^2.75.0"
},
"optionalDependencies": {}, "optionalDependencies": {},
"dependencies": { "dependencies": {
"asn1js": "^1.2.12", "asn1js": "^1.2.12",
@ -38,6 +40,7 @@
"homedir": "^0.6.0", "homedir": "^0.6.0",
"le-acme-core": "^2.0.5", "le-acme-core": "^2.0.5",
"le-challenge-fs": "^2.0.2", "le-challenge-fs": "^2.0.2",
"le-challenge-sni": "^2.0.0",
"le-sni-auto": "^2.0.1", "le-sni-auto": "^2.0.1",
"le-store-certbot": "^2.0.3", "le-store-certbot": "^2.0.3",
"localhost.daplie.com-certificates": "^1.2.3", "localhost.daplie.com-certificates": "^1.2.3",