Skip to content

Commit ff32e6e

Browse files
author
Jaume Marhuenda
committed
Note on using SSL with twisted event loop
1 parent a9a70f6 commit ff32e6e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/security.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,6 @@ This is only an example to show how to pass the ssl parameters. Consider reading
8787
the `python ssl documentation <https://docs.python.org/2/library/ssl.html#ssl.wrap_socket>`_ for
8888
your configuration. For further reading, Andrew Mussey has published a thorough guide on
8989
`Using SSL with the DataStax Python driver <http://blog.amussey.com/post/64036730812/cassandra-2-0-client-server-ssl-with-datastax-python>`_.
90+
91+
*Note*: In case the twisted event loop is used PyOpenSSL must be installed or an exception will be risen. Also
92+
to set the ``ssl_version`` and ``cert_reqs`` in ``ssl_opts`` the appropriate constants from PyOpenSSL are expected.

0 commit comments

Comments
 (0)