X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=certmaster%2FSSLCommon.py;fp=certmaster%2FSSLCommon.py;h=c3e76c266837ec66350a5197ef7ee3faf60af382;hp=5672a7f9af004354f2dc8ad03fdaabf04ae639df;hb=0067200776b0b647778fdb877db83927ab048de4;hpb=224352b0208b651c951d386bdbf9293c3365d531 diff --git a/certmaster/SSLCommon.py b/certmaster/SSLCommon.py index 5672a7f..c3e76c2 100644 --- a/certmaster/SSLCommon.py +++ b/certmaster/SSLCommon.py @@ -39,6 +39,7 @@ def CreateSSLContext(pkey, cert, ca_cert, passwd_callback=None): if passwd_callback: ctx.set_passwd_cb = passwd_callback + ctx.set_cipher_list('ALL:!aNULL:!ADH:!eNULL:!LOW:!MEDIUM:!EXP:RC4+RSA:+HIGH') ctx.use_certificate_file(cert) ctx.use_privatekey_file(pkey) ctx.load_client_ca(ca_cert)