title: Disabling TLS renegotiation in Python
body: <p>I'm implementing SSL connection in my web.py however the server fails security scanning and stuck on TLS Renegotiation DoS vulnerability.</p>
  
  <p>Here is my code snippet:</p>
  
  <pre><code>import web
  
  from web.wsgiserver import CherryPyWSGIServer
  
  CherryPyWSGIServer.ssl_certificate = "path/to/ssl_certificate"
  CherryPyWSGIServer.ssl_private_key = "path/to/ssl_private_key"
  
  urls = ("/.*", "hello")
  app = web.application(urls, globals())
  
  class hello:
      def GET(self):
          return 'Hello, world!'
  
  if __name__ == "__main__":
      app.run()
  </code></pre>
  
  <p>Is it any possible way to disable TLS Renegotiation in web.py? Thanks!</p>