tornadoweb / tornadoweb/tornado

httpserver: client can spam logs with certificate errors

Open
#2,937 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

httpserver
Dominant language
Python
Stars
22.2k
Forks
5.6k
Avg merge
3h 42m
Merged PRs (30d)
16

Description

i am using https with tornado like this:
server = httpserver.HTTPServer(application , ssl_options={ "certfile": os.path.join(app_dir, "cert.pem"), "keyfile": os.path.join(app_dir, "key.pem"), } )

however, tornado throw the warning below:
WARNING:tornado.general:SSL Error on 22 ('192.168.1.100', 56992): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 23 ('192.168.1.100', 56994): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 19 ('192.168.1.100', 56989): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 21 ('192.168.1.100', 57007): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 22 ('192.168.1.100', 57008): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 24 ('192.168.1.100', 57010): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 23 ('192.168.1.100', 57009): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 21 ('192.168.1.100', 57019): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 19 ('192.168.1.100', 57017): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 22 ('192.168.1.100', 57022): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 25 ('192.168.1.100', 57039): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 21 ('192.168.1.100', 57032): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590) WARNING:tornado.general:SSL Error on 21 ('192.168.1.100', 57048): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:590)
what does the warning mean? and how can i fix it?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the HTTPServer SSL handling entry point described in the report and trace where certificate errors are logged. Determine the intended behavior for repeated client certificate failures; done should include a documented resolution and coverage for the reported log-spam case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.