update
This commit is contained in:
parent
b72f6dfac3
commit
c4b72aebf8
1
dist/cert.classes.letsencrypt.d.ts
vendored
1
dist/cert.classes.letsencrypt.d.ts
vendored
@ -23,5 +23,4 @@ export declare class Letsencrypt {
|
|||||||
* translates to the format expected by letsencrypt node implementation
|
* translates to the format expected by letsencrypt node implementation
|
||||||
*/
|
*/
|
||||||
private _leChallengeHandler();
|
private _leChallengeHandler();
|
||||||
private _leAgree(opts, agreeCb);
|
|
||||||
}
|
}
|
||||||
|
15
dist/cert.classes.letsencrypt.js
vendored
15
dist/cert.classes.letsencrypt.js
vendored
@ -26,8 +26,10 @@ class Letsencrypt {
|
|||||||
fullchainPath: ':configDir/live/:hostname/fullchain.pem',
|
fullchainPath: ':configDir/live/:hostname/fullchain.pem',
|
||||||
certPath: ':configDir/live/:hostname/cert.pem',
|
certPath: ':configDir/live/:hostname/cert.pem',
|
||||||
chainPath: ':configDir/live/:hostname/chain.pem',
|
chainPath: ':configDir/live/:hostname/chain.pem',
|
||||||
agreeToTerms: true,
|
agreeToTerms: (opts, agreeCb) => {
|
||||||
debug: true
|
agreeCb(null, opts.tosUrl);
|
||||||
|
},
|
||||||
|
debug: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@ -42,8 +44,7 @@ class Letsencrypt {
|
|||||||
domains: [domainNameArg],
|
domains: [domainNameArg],
|
||||||
email: 'domains@lossless.org',
|
email: 'domains@lossless.org',
|
||||||
agreeTos: true,
|
agreeTos: true,
|
||||||
rsaKeySize: 2048,
|
rsaKeySize: 2048
|
||||||
challengeType: 'dns-01'
|
|
||||||
}).then((results) => {
|
}).then((results) => {
|
||||||
plugins.beautylog.success(`Got certificates for ${domainNameArg}`);
|
plugins.beautylog.success(`Got certificates for ${domainNameArg}`);
|
||||||
this._leCopyToDestination(domainNameArg).then(done.resolve);
|
this._leCopyToDestination(domainNameArg).then(done.resolve);
|
||||||
@ -103,10 +104,6 @@ class Letsencrypt {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
_leAgree(opts, agreeCb) {
|
|
||||||
// opts = { email, domains, tosUrl }
|
|
||||||
agreeCb(null, opts.tosUrl);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
exports.Letsencrypt = Letsencrypt;
|
exports.Letsencrypt = Letsencrypt;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VydC5jbGFzc2VzLmxldHNlbmNyeXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvY2VydC5jbGFzc2VzLmxldHNlbmNyeXB0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx1QkFBc0I7QUFDdEIsSUFBSSxXQUFXLEdBQUcsT0FBTyxDQUFDLGFBQWEsQ0FBQyxDQUFBO0FBRXhDLDBDQUF5QztBQUN6QyxzQ0FBcUM7QUFZckM7SUFRSSxZQUFZLFVBQTBDO1FBQ2xELGtCQUFrQjtRQUNsQixJQUFJLENBQUMsS0FBSyxHQUFHLFVBQVUsQ0FBQyxLQUFLLENBQUE7UUFDN0IsSUFBSSxDQUFDLGdCQUFnQixHQUFHLFVBQVUsQ0FBQyxnQkFBZ0IsQ0FBQTtRQUNuRCxJQUFJLENBQUMsTUFBTSxHQUFHLFVBQVUsQ0FBQyxNQUFNLENBQUE7UUFFL0IsOEJBQThCO1FBQzlCLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLEtBQUssWUFBWSxDQUFDLENBQUMsQ0FBQztZQUM5QixJQUFJLENBQUMsWUFBWSxHQUFHLFdBQVcsQ0FBQyxtQkFBbUIsQ0FBQTtRQUN2RCxDQUFDO1FBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLEtBQUssU0FBUyxDQUFDLENBQUMsQ0FBQztZQUNsQyxJQUFJLENBQUMsWUFBWSxHQUFHLFdBQVcs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QyxHQUFHLENBQUMsTUFBTSxDQUFDLENBQUE7Z0JBQ25CLE9BQU8sQ0FBQyxHQUFHLENBQUMsU0FBUyxDQUFDLENBQUE7Z0JBQ3RCLEVBQUUsRUFBRSxDQUFBO1lBQ1IsQ0FBQztZQUNELE1BQU0sRUFBRSxDQUFDLElBQUksRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLEVBQUU7Z0JBQ2hDLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxjQUFjLENBQUMsTUFBTSxDQUFDO3FCQUN2QyxJQUFJLENBQUM7b0JBQ0YsRUFBRSxFQUFFLENBQUE7Z0JBQ1IsQ0FBQyxDQUFDLENBQUE7WUFDVixDQUFDO1lBQ0QsUUFBUSxFQUFFLENBQUMsSUFBSSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsZ0JBQWdCLEVBQUUsRUFBRTtnQkFDaEQsRUFBRSxFQUFFLENBQUE7WUFDUixDQUFDO1lBQ0QsSUFBSSxFQUFFLENBQUMsUUFBUSxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsRUFBRTtnQkFDbEMsRUFBRSxFQUFFLENBQUE7WUFDUixDQUFDO1NBQ0osQ0FBQTtJQUNMLENBQUM7Q0FDSjtBQXBIRCxrQ0FvSEMifQ==
|
@ -45,8 +45,10 @@ export class Letsencrypt {
|
|||||||
fullchainPath: ':configDir/live/:hostname/fullchain.pem',
|
fullchainPath: ':configDir/live/:hostname/fullchain.pem',
|
||||||
certPath: ':configDir/live/:hostname/cert.pem',
|
certPath: ':configDir/live/:hostname/cert.pem',
|
||||||
chainPath: ':configDir/live/:hostname/chain.pem',
|
chainPath: ':configDir/live/:hostname/chain.pem',
|
||||||
agreeToTerms: true,
|
agreeToTerms: (opts, agreeCb) => {
|
||||||
debug: true
|
agreeCb(null, opts.tosUrl)
|
||||||
|
},
|
||||||
|
debug: false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,8 +64,7 @@ export class Letsencrypt {
|
|||||||
domains: [domainNameArg],
|
domains: [domainNameArg],
|
||||||
email: 'domains@lossless.org',
|
email: 'domains@lossless.org',
|
||||||
agreeTos: true,
|
agreeTos: true,
|
||||||
rsaKeySize: 2048,
|
rsaKeySize: 2048
|
||||||
challengeType: 'dns-01'
|
|
||||||
}).then(
|
}).then(
|
||||||
(results) => {
|
(results) => {
|
||||||
plugins.beautylog.success(`Got certificates for ${domainNameArg}`)
|
plugins.beautylog.success(`Got certificates for ${domainNameArg}`)
|
||||||
@ -129,9 +130,4 @@ export class Letsencrypt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private _leAgree(opts, agreeCb) {
|
|
||||||
// opts = { email, domains, tosUrl }
|
|
||||||
agreeCb(null, opts.tosUrl);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user