Skip to content
Snippets Groups Projects
Commit e5e7c61f authored by Hans Trompert's avatar Hans Trompert
Browse files

simplified setupTLSContext()

In config.py _load_certificates() already makes sure that CERTIFICATE_DIR is
set and if TLS is enbled that KEY and CERTIFICATE are supplied, here we only
need to decide between a full 2 Way TLS context, either to start the server in
TLS mode and/or be able to do TLS client authentication, or a simple TLS
context that will only be able to verify the remote certificate in client
requests.
parent 4fc830c1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment