mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Stop using the deprecated ssl.PROTOCOL_TLS
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
0a04e2ad02
commit
36a4c99a24
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ def ssl_webserver(integration_files_dir, this_txt_file):
|
|||
"""
|
||||
spins up an https webserver.
|
||||
"""
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS)
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
|
||||
context.load_cert_chain(
|
||||
str(integration_files_dir / "https" / "cert.pem"),
|
||||
str(integration_files_dir / "https" / "key.pem"),
|
||||
|
|
Loading…
Add table
Reference in a new issue