v2.7.12: pass 'wildname' to approveDomains()
This commit is contained in:
parent
8afda1184e
commit
ddaebd9387
1
index.js
1
index.js
|
@ -452,6 +452,7 @@ Greenlock.create = function (gl) {
|
||||||
domain: domain, domains: certs && certs.altnames || [ domain ]
|
domain: domain, domains: certs && certs.altnames || [ domain ]
|
||||||
, certs: certs, certificate: {}, account: {}
|
, certs: certs, certificate: {}, account: {}
|
||||||
};
|
};
|
||||||
|
opts.wildname = '*.' + (domain||'').split('.').slice(1).join('.');
|
||||||
|
|
||||||
function cb2(results) {
|
function cb2(results) {
|
||||||
log(gl.debug, 'gl.approveDomains called with certs for', results.certs && results.certs.altnames || 'NONE', 'and options:');
|
log(gl.debug, 'gl.approveDomains called with certs for', results.certs && results.certs.altnames || 'NONE', 'and options:');
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.7.11",
|
"version": "2.7.12",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.7.11",
|
"version": "2.7.12",
|
||||||
"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": [
|
||||||
|
|
Loading…
Reference in New Issue