
NOTE: CSMS is not used in post Urika-GX 1.2UP00 releases.
3. Save the
/etc/haproxy/haproxy.cfg
configuration file.
4. Edit the
/etc/httpd/conf.d/ssl.conf
file to replace the path in following line with the path to the actual
pem
file.
SSLCertificateFile /etc/ssl/certs/filename.pem
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
5. Restart HAProxy
# service haproxy restart
6. Uncomment the following lines and make sure they are set to
true
in
/etc/hue/conf/hue.ini
use_x_forwarded_host=true
secure_proxy_ssl_header=true
7. Restart the HUE service.
# service urika-hue restart
8. Uncomment the following lines (or add if they do not already exist)
in
/opt/cray/ui-application-management/default/application_management/settings.py
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
USE_X_FORWADED_HOST = True
9. Set
USE_SECURE_URLS
to
True
in
/opt/cray/ui-application-management/default/application_management/settings.py
,
as shown in the following example. This allows the Urika-GX Applications Interface page to load secure
URLs (configured in the preceding steps) when the HUE/Grafana/Jupyter/Urika-GX Application Management
UIs are accessed from the Urika-GX Applications Interface page. If there is any change in the HAProxy port
numbers, the following URLs in
settings.py
need to be updated:
USE_SECURE_URLS = False
USE_SECURE_URLS == True:
GRAFANA_SERVER = "https://" + LOGIN1 + ":29201"
JUPYTER = "https://" + ":29204"
HUE = "https://" + ":29202"
UAM = "https://" + ":29203/applications"
10. Update the
/etc/httpd/conf.d/uam.conf
configuration file as follows, replacing the URL
'
hostname-login1.us.cray.com
' with the FQDN of login node 1.
WSGISocketPrefix run/wsgi
WSGIScriptAlias / /opt/cray/ui-application-management/default/
application_management/apache/wsgi.py
Alias /static/ /opt/cray/ui-application-management/default/
application_management/app_monitoring/static/
<Directory /opt/cray/ui-application-management/default/application_management/
Security
S3016
233