Skip to content

Commit

Permalink
chore: remove create-ssl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smileby committed Jan 30, 2024
1 parent 2c19fb1 commit aa4470a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 42 deletions.
8 changes: 7 additions & 1 deletion t/cli/test_tls_over_tcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ nginx_config:
make run
sleep 0.1

./utils/create-ssl.py t/certs/mtls_server.crt t/certs/mtls_server.key test.com
curl http://127.0.0.1:9180/apisix/admin/ssls/1 \
-H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"cert" : "'"$(cat t/certs/mtls_server.crt)"'",
"key": "'"$(cat t/certs/mtls_server.key)"'",
"snis": ["test.com"]
}'

curl -k -i http://127.0.0.1:9180/apisix/admin/stream_routes/1 \
-H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d \
Expand Down
41 changes: 0 additions & 41 deletions utils/create-ssl.py

This file was deleted.

0 comments on commit aa4470a

Please sign in to comment.