diff --git a/index.js b/index.js index 8c1bffe..45add6e 100644 --- a/index.js +++ b/index.js @@ -143,7 +143,7 @@ Greenlock.create = function (gl) { /////////////////////////// gl.version = gl.version || 'draft-11'; - gl.server = gl.server || 'https://acme-v01.api.letsencrypt.org/directory'; + gl.server = gl.server || 'https://acme-v02.api.letsencrypt.org/directory'; if (!gl.version) { //console.warn("Please specify version: 'v01' (Let's Encrypt v1) or 'draft-12' (Let's Encrypt v2 / ACME draft 12)"); console.warn(""); diff --git a/package.json b/package.json index c91de41..a39f3be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "greenlock", - "version": "2.6.3", + "version": "2.6.4", "description": "Let's Encrypt for node.js on npm", "main": "index.js", "files": [