File tree 6 files changed +6
-61
lines changed
6 files changed +6
-61
lines changed Original file line number Diff line number Diff line change 3
3
node_modules
4
4
npm-debug.log
5
5
package-lock.json
6
+ /test /fixtures /server.crt
7
+ /test /fixtures /server.key
Original file line number Diff line number Diff line change 39
39
},
40
40
"scripts" : {
41
41
"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/" ,
43
43
"test-ci" : " nyc --reporter=lcov --reporter=text npm test" ,
44
44
"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"
47
46
}
48
47
}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -ex
3
3
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