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

Investigate support for SSL in Jython 2.7

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: