Differences between revisions 1 and 2
Revision 1 as of 2012-06-08 22:04:14
Size: 717
Editor: AlanKennedy
Comment: Creating a new page for the SSL module.
Revision 2 as of 2015-10-16 17:01:48
Size: 274
Editor: JimBaker
Comment: Currently a placeholder, but describes the most relevant aspects of SSL as of 2.7.0 and 2.7.1 beta 2
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= SSL Module =

<<TableOfContents(3)>>

== Overview ==

The SSL module was introduced into cpython in version 2.6. It provides extensive support for client and server side SSL.

Jython went straight to version 2.7: there was no jython 2.6.

== Server-side ==

Jython 2.7 currently does not provide server-side SSL support.

== Client-side ==

Jython 2.7 has SSL client-side support, implementing only the '''wrap_socket''' function.

Notes.

 * Java manages certificates completely differently to cpython: see [[NewSocketModule#SSL_Support|socket module documentation on SSL]] for more information.
 * For this reason, all parameters other than the first '''sock''' parameter '''are ignored'''.
Jython 2.7 fully supports the ssl module including as of 2.7.1 beta 2, most of ssl.SSLContext. The one major exception is server sockets that support STARTTLS protocols (FTP over SSL, ...) that negotiate from plain text to SSL-secured text, due to a limitation of Netty 4.

Jython 2.7 fully supports the ssl module including as of 2.7.1 beta 2, most of ssl.SSLContext. The one major exception is server sockets that support STARTTLS protocols (FTP over SSL, ...) that negotiate from plain text to SSL-secured text, due to a limitation of Netty 4.

SSLModule (last edited 2015-10-16 17:01:48 by JimBaker)