Skip to content

Commit

Permalink
Update documentation for https cipher due to airlift upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhun committed Sep 13, 2018
1 parent 7c87ec5 commit 6fa9aa7
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions presto-docs/src/main/sphinx/security/server.rst
Expand Up @@ -118,15 +118,20 @@ Property Description

.. note::

Monitor CPU usage on the Presto coordinator after enabling HTTPS. Java will
choose CPU-intensive cipher suites by default. If the CPU usage is
unacceptably high after enabling HTTPS, you can configure Java to use
specific cipher suites by setting the ``http-server.https.included-cipher``
property:
Monitor CPU usage on the Presto coordinator after enabling HTTPS. Java
prefers the more CPU-intensive cipher suites if you allow it to choose from
a big list. If the CPU usage is unacceptably high after enabling HTTPS,
you can configure Java to use specific cipher suites by setting
the ``http-server.https.included-cipher`` property to only allow
cheap ciphers. Non forward secrecy (FS) ciphers are disabled by default.
As a result, if you want to choose non FS ciphers, you need to set the
``http-server.https.excluded-cipher`` property to an empty list in order to
override the default exclusions.

.. code-block:: none
http-server.https.included-cipher=TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256
http-server.https.excluded-cipher=
The Java documentation lists the `supported cipher suites
<http://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SupportedCipherSuites>`_.
Expand Down

0 comments on commit 6fa9aa7

Please sign in to comment.