'how do i fix "ERR_SSL_PROTOCOL_ERROR"?

i made a server with twisted python like below

options = ssl.CertificateOptions(privateKey=cert.privateKey.original,
                    certificate=cert.original,
                    verify=False,
                    requireCertificate=False,
                    raiseMinimumTo=ssl.TLSVersion.TLSv1_2,
                    lowerMaximumSecurityTo=ssl.TLSVersion.TLSv1_2)
        reactor.listenSSL(host_config.BROKER_PORT, get_factory(), options)

ERR_SSL_PROTOCOL_ERROR

what could be the problem?

and how do i fix it?

ps. i use self signed certificate.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source