Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-498

Investigate support for SSL in Jython 2.7

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Jython 2.7 beta 1 includes a basic ssl module. Since Java always does certificate validation the Jython ssl API does not include constants like ssl.CERT_NONE, ssl.CERT_OPTIONAL, and ssl.CERT_REQUIRED. Its ssl.wrap_socket implementation (socket.ssl) does not accept the ca_certs and cert_reqs parameters.

      http://hg.python.org/jython/file/11776cd9765b/Lib/ssl.py
      http://hg.python.org/jython/file/11776cd9765b/Lib/socket.py#l1818
      http://wiki.python.org/jython/SSLModule
      http://wiki.python.org/jython/NewSocketModule#SSL_Support

            Assignee:
            Unassigned Unassigned
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: