Document that you need a domain name before HTTPS

Also note that Let's Encrypt doesn't work in private
networks.

Fixes #217
This commit is contained in:
yuvipanda
2019-05-18 17:46:06 -07:00
parent 10e60ab226
commit a569417dad

View File

@@ -15,11 +15,23 @@ certificate. Unless you have a strong reason to use the manual method,
you should use the :ref:`Let's Encrypt <howto/admin/https/letsencrypt>`
method.
.. note::
You *must* have a domain name set up to point to the IP address on
which TLJH is accessible before you can set up HTTPS.
.. _howto/admin/https/letsencrypt:
Automatic HTTPS with Let's Encrypt
==================================
.. note::
If the machine you are running on is not reachable from the internet -
for example, if it is a machine internal to your organization that
is cut off from the internet - you can not use this method. Please
set up a DNS entry and HTTPS :ref:`manually <howto/admin/https/manual>`.
To enable HTTPS via letsencrypt::
sudo tljh-config set https.enabled true
@@ -33,7 +45,6 @@ Once you have loaded this, your config should look like::
sudo tljh-config show
.. sourcecode:: yaml
https: