Skip to content

Commit e91daf9

Browse files
authored
Add files via upload
1 parent f768a30 commit e91daf9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

SETUP_SSL_CONNECTION.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
### How to setup HTTPS(SSL) connection for IBM Spectrum Scale Performance Monitoring Bridge
2+
3+
To set up SSL communication between the bridge and the Grafana complete the following steps:
4+
5+
6+
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:
7+
8+
```shell
9+
# openssl genrsa -out privkey.pem 2048
10+
```
11+
12+
13+
2. Generate a certificate.
14+
15+
```shell
16+
# openssl req -new -x509 -days 365 -key privkey.pem -out cert.pem
17+
```
18+
19+
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).
20+
21+
Note: The file names for key and the certificate should be ‘privkey.pem’ and ‘cert.pem’.
22+
23+
24+
3. Install CherryPy (version 5.0 or above)from the [CherryPy](https://cherrypy.org/) download page.
25+
26+
Note: If you are using python3, please check which cherryPy version is compatible with your setup. In our lab, we have tested python version 3.4.3 with cherryPy version 8.2.0.
27+
28+
29+
4. Start the bridge listening on the socket port 8443. Don't forget to provide the location of ‘privkey.pem’ and ‘cert.pem’ (-k option), otherwise you will get the error message:
30+
31+
```shell
32+
# python zimonGrafanaIntf.py -p 8443
33+
```

0 commit comments

Comments
 (0)