diff --git a/test.py b/test.py new file mode 100644 index 000000000000000..f030289ec6e5a11 --- /dev/null +++ b/test.py @@ -0,0 +1,12 @@ +import ssl +import socket + +ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) +ctx.set_ecdh_curve("X25519Kyber768Draft00") +ctx.load_verify_locations("/etc/ssl/certs/ca-certificates.crt") + +host = "kms.us-east-1.amazonaws.com" +sock = socket.create_connection((host, 443)) +ssock = ctx.wrap_socket(sock, server_hostname=host) +ssock.close() +print("succes!")