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…
Reference in New Issue