startTLS: change DH key parameter filename

This commit is contained in:
Alberto Sottile 2019-02-07 23:26:20 +01:00
parent 9b4338146e
commit 9721cf32e4

View File

@ -214,7 +214,7 @@ class SyncFactory(Factory):
certifpyssl = crypto.load_certificate(crypto.FILETYPE_PEM, certif)
chainpyssl = [crypto.load_certificate(crypto.FILETYPE_PEM, chain)]
dhFilePath = FilePath(path+'/dh_param_1024.pem')
dhFilePath = FilePath(path+'/dh_param.pem')
dhParams = ssl.DiffieHellmanParameters.fromFile(dhFilePath)
contextFactory = ssl.CertificateOptions(privateKey=privkeypyssl, certificate=certifpyssl,