add crl option

This commit is contained in:
AJ ONeal 2016-04-16 09:20:24 -06:00
parent f884f5cc58
commit d27452bb58
1 changed files with 4 additions and 3 deletions

View File

@ -103,6 +103,7 @@ module.exports.create = function (opts) {
key: certInfo.privkey || certInfo.key // privkey.pem key: certInfo.privkey || certInfo.key // privkey.pem
, 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
}); });
} 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");