Skip to content

Commit

Permalink
Add minimal TLS/HTTPS section
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua authored and electrum committed Apr 22, 2021
1 parent 27c8b4c commit 510f7fb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/src/main/sphinx/installation/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ The CLI uses the HTTP protocol and the
:doc:`Trino client REST API </develop/client-protocol>` to communicate
with Trino.

TLS/HTTPS
---------

Trino is typically available with an HTTPS URL. This means that all network
traffic between the CLI and Trino uses TLS. :doc:`TLS configuration
</security/tls>` is common, since it is a requirement for any authentication.

Use the HTTPS URL to connect to the server:

.. code-block:: text
./trino --server https://trino.example.com
The recommended TLS implementation is to use a globally trusted certificate. In
this case, no other options are necessary, since the JVM running the CLI
recognizes these certificates.

Authentication
--------------

Expand Down

0 comments on commit 510f7fb

Please sign in to comment.