File tree Expand file tree Collapse file tree 6 files changed +6
-61
lines changed Expand file tree Collapse file tree 6 files changed +6
-61
lines changed Original file line number Diff line number Diff line change 33node_modules
44npm-debug.log
55package-lock.json
6+ /test /fixtures /server.crt
7+ /test /fixtures /server.key
Original file line number Diff line number Diff line change 3939 },
4040 "scripts" : {
4141 "lint" : " eslint . && node ./scripts/lint-readme.js" ,
42- "test" : " mocha --require test/support/env --check-leaks --bail --no-exit --reporter spec test/" ,
42+ "test" : " ./test/support/gencert.sh && mocha --require test/support/env --check-leaks --bail --no-exit --reporter spec test/" ,
4343 "test-ci" : " nyc --reporter=lcov --reporter=text npm test" ,
4444 "test-cov" : " nyc npm test" ,
45- "version" : " node scripts/version-history.js && git add HISTORY.md" ,
46- "gencert" : " ./test/support/gencert.sh"
45+ "version" : " node scripts/version-history.js && git add HISTORY.md"
4746 }
4847}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -ex
33
4- openssl genpkey -algorithm RSA -out new_server.key -pkeyopt rsa_keygen_bits:2048
5-
6- openssl x509 -in ./test/fixtures/server.crt -signkey new_server.key -days 3650 -out new_server.crt
7-
8- openssl x509 -in new_server.crt -text -noout
9-
10- mv new_server.crt ./test/fixtures/server.crt
11-
12- mv new_server.key ./test/fixtures/server.key
4+ openssl req -x509 -nodes -newkey rsa:2048 -keyout ./test/fixtures/server.key -out ./test/fixtures/server.crt -days 3650 \
5+ -subj " /C=US/ST=Illinois/L=Chicago/O=node-express-session/CN=express-session.local"
You can’t perform that action at this time.
0 commit comments