This commit is contained in:
Josh Harvey 2016-10-24 03:17:03 +03:00
parent defb8d0f34
commit d79a931f02
3 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View file

@ -31,4 +31,5 @@ raqia.json
scratch/ scratch/
seeds/ seeds/
certs/
lamassu.json lamassu.json

View file

@ -4,7 +4,7 @@ const pify = require('pify')
const readFile = pify(fs.readFile) const readFile = pify(fs.readFile)
const db = require('./db') const db = require('./db')
const CA_PATH = path.resolve(__dirname, '..', 'ca-cert.pem') const CA_PATH = path.resolve(__dirname, '..', 'certs', 'ca-cert.pem')
function pullToken (token) { function pullToken (token) {
const sql = `delete from pairing_tokens const sql = `delete from pairing_tokens

View file

@ -104,3 +104,8 @@ options: configure per machine; configure per crypto/fiat
- twoWayMode should be per crypto - twoWayMode should be per crypto
- add cassette count handling in machines/actions in admin - add cassette count handling in machines/actions in admin
--------------------------------
- need to create CA: http://stackoverflow.com/questions/19665863/how-do-i-use-a-self-signed-certificate-for-a-https-node-js-server