2
1
镜像自地址 https://github.com/therootcompany/greenlock-express.js.git 已同步 2025-07-01 22:26:30 +00:00

add options requestCert and rejectUnauthorized

这个提交包含在:
AJ ONeal 2016-04-16 09:38:30 -06:00
父节点 c3da430e53
当前提交 51a34718cb

查看文件

@ -104,6 +104,8 @@ module.exports.create = function (opts) {
, cert: certInfo.fullchain || certInfo.cert // fullchain.pem (cert.pem + '\n' + chain.pem)
, ca: (opts.httpsOptions.ca ? opts.httpsOptions.ca + '\n' + certInfo.ca : certInfo.ca)
, crl: opts.httpsOptions.crl
, requestCert: opts.httpsOptions.requestCert
, rejectUnauthorized: opts.httpsOptions.rejectUnauthorized
});
} catch(e) {
console.warn("[Sanity Check Fail]: a weird object was passed back through le.fetch to lex.fetch");