Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ $ ./vendor/bin/http_test_server > /dev/null 2>&1 &
Then generate ssh certificates:

```bash
$ cd ./tests/server/ssl
$ ./generate.sh
$ cd ../../../
$ composer gen-ssl
```

Note: If you are running this on macOS and get the following error: "Error opening CA Private Key privkey.pem", check [this](ssl-macOS.md) file.
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"cs-check": "vendor/bin/php-cs-fixer fix --dry-run",
"cs-fix": "vendor/bin/php-cs-fixer fix",
"test": "vendor/bin/phpunit",
"test-ci": "vendor/bin/phpunit --coverage-clover build/coverage.xml"
"test-ci": "vendor/bin/phpunit --coverage-clover build/coverage.xml",
"gen-ssl": "tests/server/ssl/generate.sh"
},
"extra": {
"branch-alias": {
Expand Down
4 changes: 4 additions & 0 deletions tests/server/ssl/generate.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

set -eo pipefail

cd $(dirname $0)

C=FR
ST=Ile-de-France
L=Paris
Expand Down