Skip to content

How to setup HTTPS(SSL) connection for the IBM Spectrum Scale bridge for Grafana

hwassman edited this page Feb 6, 2024 · 7 revisions

Generate SSL certificates

To set up SSL communication between the bridge and the Grafana complete the following steps:

  1. On the host, where you are running the bridge, generate a private key. For example, you can use openssl command and follow the OpenSSL ‘howto’ instructions:
# openssl genrsa -out privkey.pem 2048
  1. Generate a certificate.
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
  -keyout /etc/bridge_ssl/certs/privkey.pem -out /etc/bridge_ssl/certs/cert.pem

Openssl will then ask you a series of questions. You can enter whatever values are applicable, or leave most fields blank. The one field you must fill in is the ‘Common Name’: enter the hostname which will be used to access the bridge (where the Grafana server running).
Note: The file names for the key and the certificate should be ‘privkey.pem’ and ‘cert.pem’.

Start the bridge listening on the socket port 8443

Don't forget to provide the location and the file name of the tls private key and the tls certificate:

# python3 zimonGrafanaIntf.py -p 8443 -t /etc/bridge_ssl/certs -k privkey.pem -m cert.pem

CherryPy openSSL documentation

User Guide

Installation

Configuration

Maintenance

Troubleshooting

Use cases

Designing dashboards

Developer Guide

Clone this wiki locally