I am using tornado framework and doing certificate authentication but I am getting following error :
SSLError: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
I am using below code:
http_server = tornado.httpserver.HTTPServer(HomeHandler()
,ssl_options=dict(
certfile="cert/certificate.crt",
keyfile="cert/certificate.key",
cert_reqs=ssl.CERT_REQUIRED,
ca_certs="cert/cacertificate.crt",
#ssl_version=ssl.PROTOCOL_TLSv1
)
)
Thanks in advance