add options requestCert and rejectUnauthorized
Этот коммит содержится в:
родитель
c3da430e53
Коммит
51a34718cb
@ -104,6 +104,8 @@ module.exports.create = function (opts) {
|
|||||||
, cert: certInfo.fullchain || certInfo.cert // fullchain.pem (cert.pem + '\n' + chain.pem)
|
, cert: certInfo.fullchain || certInfo.cert // fullchain.pem (cert.pem + '\n' + chain.pem)
|
||||||
, ca: (opts.httpsOptions.ca ? opts.httpsOptions.ca + '\n' + certInfo.ca : certInfo.ca)
|
, ca: (opts.httpsOptions.ca ? opts.httpsOptions.ca + '\n' + certInfo.ca : certInfo.ca)
|
||||||
, crl: opts.httpsOptions.crl
|
, crl: opts.httpsOptions.crl
|
||||||
|
, requestCert: opts.httpsOptions.requestCert
|
||||||
|
, rejectUnauthorized: opts.httpsOptions.rejectUnauthorized
|
||||||
});
|
});
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.warn("[Sanity Check Fail]: a weird object was passed back through le.fetch to lex.fetch");
|
console.warn("[Sanity Check Fail]: a weird object was passed back through le.fetch to lex.fetch");
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user