Managing SSL keys and settings for Cloud Probe traffic decryption
This section describes the management of secure socket layer (SSL) keys and the settings for traffic decryption of the Real User Cloud Probe.
A web application uses encryption to protect sensitive data that travels between the client and the server. Without the proper deciphering mechanism, the system cannot decrypt the intercepted traffic. To process encrypted traffic, you must upload the appropriate cryptographic keys (so-called SSL keys) to the host with the Cloud Probe.
The Cloud Probe supports SSL keys with certificates that use the privacy-enhanced mail (PEM) format. Passphrase- and Password-protected private keys are not supported.
Configuring SSL keys
- Log in to the virtual machine with the Cloud Probe installation as root.
- Stop the Cloud Probe service by running the following command:
$ service cloud-probe stop - Copy your private PEM key to the host with Cloud Probe.
- To create a private key with pem__PEM suffix, run the following command:
cp /<keyLocation>/<keyName>.pem /<keyDestination>/<keyName>.pem__PEM To manage SSL keys, add the following settings to the epssl.cfg file, located on the Cloud Probe host in the <installationDirectory>/conf directory:
keymaterial <privateKeyFilePath>/<keyName>.pem__PEM ON
keyfor 0.0.0.0-255.255.0.0 443-443 1 <keyName>.pemThe first line specifies the location of the private key and uses the following syntax:
Key word
Path to private key
State of key
keymaterial<privateKeyFilePath>/<keyName>.pem__PEMON- <privateKeyFilePath> is the path to the private key file.
- State of the key must be set to ON.
The second line specifies the properties of the private key mentioned in the previous line, and uses the following syntax:
Key word
IP address (range)
Port (range)
Host ID
Private key
keyfor
0.0.0.0-255.255.0.0
443-443
1
<keyName>.pem
The private key specified in the second line does not have pem__PEM suffix.
- Start the Cloud Probe service by running the following command:
$ service cloud-probe start
Handling errors with Cloud Probe SSL keys
After the Cloud probe service starts, the SSL CFG ERROR error in the cloud-probe service logs, indicates a problem with epssl.cfg file.
For additional SSL issues, look in the following files:
- /opt/bmc/CloudProbe/cloudprobe/staging/tmp/epx_ssl_hosts_stats — Contains all SSL hosts seen over the last 24 hours
- /opt/bmc/CloudProbe/cloudprobe/staging/tmp/epx_ssl_global_stats — Contains SSL global statistics collected over the last 24 hours
Related topic