X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c3577ec1ea5232b92c23118c0606d560a605aed5..05094973696294e4d9effe87b9e9e45b06d89835:/doc/_includes/_multi_host_install_custom_certificates.liquid diff --git a/doc/_includes/_multi_host_install_custom_certificates.liquid b/doc/_includes/_multi_host_install_custom_certificates.liquid index b831aadcf9..2d8bbfc806 100644 --- a/doc/_includes/_multi_host_install_custom_certificates.liquid +++ b/doc/_includes/_multi_host_install_custom_certificates.liquid @@ -4,20 +4,35 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} +You will need certificates for each DNS name and DNS wildcard previously listed in the "DNS hostnames for each service":#DNS . + +To simplify certificate management, we recommend creating a single certificate for all of the hostnames, or creating a wildcard certificate that covers all possible hostnames (with the following patterns in subjectAltName): + +
+xarv1.example.com
+*.xarv1.example.com
+*.collections.xarv1.example.com
+
+ +(Replacing @xarv1.example.com@ with your own @${DOMAIN}@) + Copy your certificates to the directory specified with the variable @CUSTOM_CERTS_DIR@ in the remote directory where you copied the @provision.sh@ script. The provision script will find the certificates there. The script expects cert/key files with these basenames (matching the role except for keepweb, which is split in both download / collections): -* "controller" -* "websocket" -* "workbench" -* "workbench2" -* "webshell" -* "download" # Part of keepweb -* "collections" # Part of keepweb -* "keepproxy" +# @balancer@ -- Optional on multi-node installations +# @collections@ -- Part of keepweb, must be a wildcard for @*.collections.${DOMAIN}@ +# @controller@ +# @download@ -- Part of keepweb +# @grafana@ -- Service available by default on multi-node installations +# @keepproxy@ -- Corresponds to default domain @keep.${DOMAIN}@ +# @prometheus@ -- Service available by default on multi-node installations +# @webshell@ +# @websocket@ -- Corresponds to default domain @ws.${DOMAIN}@ +# @workbench@ +# @workbench2@ -E.g. for 'keepproxy', the script will look for +For example, for the @keepproxy@ service the script will expect to find this certificate:
${CUSTOM_CERTS_DIR}/keepproxy.crt
@@ -26,3 +41,14 @@ ${CUSTOM_CERTS_DIR}/keepproxy.key
 
 
 Make sure that all the FQDNs that you will use for the public-facing applications (API/controller, Workbench, Keepproxy/Keepweb) are reachable.
+
+Note: because the installer currently looks for a different certificate file for each service, if you use a single certificate, we recommend creating a symlink for each certificate and key file to the primary certificate and key, e.g.
+
+
+
ln -s xarv1.crt ${CUSTOM_CERTS_DIR}/controller.crt
+ln -s xarv1.key ${CUSTOM_CERTS_DIR}/controller.key
+ln -s xarv1.crt ${CUSTOM_CERTS_DIR}/keepproxy.crt
+ln -s xarv1.key ${CUSTOM_CERTS_DIR}/keepproxy.key
+...
+
+