Compare commits

..

1 Commits

Author SHA1 Message Date
c45fcdf150 v2.6.7: more reasonable defaults 2018-12-22 07:35:54 -07:00
2 changed files with 3 additions and 2 deletions

View File

@ -391,7 +391,8 @@ Greenlock.create = function (gl) {
throw new Error("le-sni-auto is not properly configured. Missing agreeTos"); throw new Error("le-sni-auto is not properly configured. Missing agreeTos");
} }
if (!/[a-z]/i.test(lexOpts.domain)) { if (!/[a-z]/i.test(lexOpts.domain)) {
throw new Error("le-sni-auto does not allow IP addresses by default"); cb(new Error("le-sni-auto does not allow IP addresses in SNI"));
return;
} }
if (!Array.isArray(gl.approvedDomains)) { if (!Array.isArray(gl.approvedDomains)) {

View File

@ -1,6 +1,6 @@
{ {
"name": "greenlock", "name": "greenlock",
"version": "2.6.6", "version": "2.6.7",
"description": "Let's Encrypt for node.js on npm", "description": "Let's Encrypt for node.js on npm",
"main": "index.js", "main": "index.js",
"files": [ "files": [