changes
This commit is contained in:
21
src/main.py
Normal file
21
src/main.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from flask import Flask, request, Response
|
||||
from cryptography import x509
|
||||
from cryptography.x509 import ocsp
|
||||
from cryptography.hazmat.primitives import hashes
|
||||
from cryptography.hazmat.primitives.serialization import Encoding
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/ocsp", methods=["POST"])
|
||||
def ocsp_endpoint():
|
||||
return "thank you"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(
|
||||
host="0.0.0.0",
|
||||
port=5000,
|
||||
debug=False
|
||||
)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ cryptography==46.0.3
|
||||
Flask==3.1.2
|
||||
itsdangerous==2.2.0
|
||||
Jinja2==3.1.6
|
||||
loguru==0.7.3
|
||||
MarkupSafe==3.0.3
|
||||
pycparser==2.23
|
||||
Werkzeug==3.1.4
|
||||
Reference in New Issue
Block a user