feat: cleanup README and add test-ca files for testing

This commit is contained in:
2021-03-19 17:13:53 +00:00
parent 36587867c2
commit 1dcb2ebef1
12 changed files with 200 additions and 84 deletions

View File

@ -0,0 +1 @@
3.6.4

1
sample-server/fullchain.pem Symbolic link
View File

@ -0,0 +1 @@
../test-ca/end.fullchain

1
sample-server/key.pem Symbolic link
View File

@ -0,0 +1 @@
../test-ca/end.key

14
sample-server/main.py Normal file
View File

@ -0,0 +1,14 @@
from flask import Flask, request
app = Flask(__name__)
app.debug = True
@app.route('/')
def hello_world():
print(f"{request.method} {request.url}")
return 'Hello, World!'
app.run(
debug=True,
ssl_context=('fullchain.pem', 'key.pem'),
port=5000
)