Set the allowed ciphers for sockets created with this context when connecting using TLS 1.2 and earlier. The ciphers argument should be a string in the OpenSSL cipher list format. To set allowed TLS 1.3 ciphers, use SSLContext.set_ciphersuites().
ssl/SSLContext.set_ciphers
SSLContext.set_ciphers