WIPP
This commit is contained in:
parent
d79a931f02
commit
a49fac6cc8
3 changed files with 42 additions and 5 deletions
|
|
@ -44,10 +44,7 @@ module.exports = function (options) {
|
|||
var serverOptions = {
|
||||
key: options.https.key,
|
||||
cert: options.https.cert,
|
||||
requestCert: true,
|
||||
secureProtocol: 'TLSv1_method',
|
||||
ciphers: 'AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH',
|
||||
honorCipherOrder: true
|
||||
requestCert: true
|
||||
}
|
||||
|
||||
server = https.createServer(serverOptions, app)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ const pify = require('pify')
|
|||
const readFile = pify(fs.readFile)
|
||||
const db = require('./db')
|
||||
|
||||
const CA_PATH = path.resolve(__dirname, '..', 'certs', 'ca-cert.pem')
|
||||
const CA_PATH = path.resolve(__dirname, '..', 'certs', 'root-ca.crt.pem')
|
||||
|
||||
function pullToken (token) {
|
||||
const sql = `delete from pairing_tokens
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue