mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 21:28:05 +00:00
add options requestCert and rejectUnauthorized
This commit is contained in:
parent
c3da430e53
commit
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user