From f57d64c080dd6d3697927ea96a60db8339002781 Mon Sep 17 00:00:00 2001 From: Itiligent <94789708+itiligent@users.noreply.github.com> Date: Fri, 17 May 2024 04:30:23 +1000 Subject: [PATCH] added notes for tls between distributed systems --- guac-optional-features/add-tls-guac-daemon.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/guac-optional-features/add-tls-guac-daemon.sh b/guac-optional-features/add-tls-guac-daemon.sh index ec250b7..7bf1400 100644 --- a/guac-optional-features/add-tls-guac-daemon.sh +++ b/guac-optional-features/add-tls-guac-daemon.sh @@ -65,11 +65,13 @@ DNS.1 = localhost IP.1 = 127.0.0.1 EOF -# Create the self signing request, certificate & key +# Create the self signing request, certificate & key. +# If splitting guacd (backend) and guacamole (front end) across separate systems, run this command on guacd and then copy certs to the same location on guacamole server. +# Also consider omitting the setting -config cert_attributes.txt or IP.1 = 0.0.0.0 for future ip address changes if splitting. openssl req -x509 -nodes -days $CERT_DAYS -newkey rsa:$RSA_KEY_LENGTH -keyout /etc/guacamole/ssl/guacd.key -out /etc/guacamole/ssl/guacd.crt -config cert_attributes.txt rm -f cert_attributes.txt -# Point Guacamole config file to certificate and key +# Point Guacamole config file to certificate and key. (If splitting, run this on guacd after changing bind_ host to 0.0.0.0 ). cp /etc/guacamole/guacd.conf /etc/guacamole/guacd.conf.bak cat <