Configure Splunk forwarding on Windows hosts to use your own certificates


We are running a Splunk cluster (version 8.1.2) and trying to secure the forwarding from the Universal Forwarders (also version 8.1.2) to the Heavy Forwarders in our cluster.

I've followed the documentation to accomplish this using custom certificates and we have succeeded to secure the traffic between the Universal Forwarders running on Linux and our Heavy Forwarders (also running on Linux). However, the Universal Forwarders on Windows fail to successfully sent their data.

Our configuration is as follows:

We have created a root CA that is shared by all Splunk nodes
We have created a server certificate signed by the root CA that is shared by the Heavy Forwarders
We have created a certificate signed by the root CA that is shared by the Universal Forwarders

The Universal Forwarders contain an app with a outputs.conf with the following content

    defaultGroup = ufw_group

    server = splunkhf1d:9997
    clientCert = C:\Program Files\SplunkUniversalForwarder\etc\apps\ufw_base\local\splunkUfd_chained.pem
    sslPassword = $7$1x1tBdfWOZKofTNvhO1BD2/EJqF6yzM6fyiGVpqdDWEFQdm8Y1J+SGrN
Note that the sslPassword was pasted in plain text and was encrypted by Splunk upon restart.
The log of the Universal Forwarder shows:
    ERROR AesGcm - Text decryption - error in finalizing: No errors in queue
    ERROR AesGcm - AES-GCM Decryption failed!
    ERROR Crypto - Decryption operation failed: AES-GCM Decryption failed!
    WARN  ConfigEncryptor - Decryption operation failed: AES-GCM Decryption failed!
I have also tried to specify the path to the root CA in the server.conf but this did not help either.
Finally, I have tried to install the Universal Forwarder using the graphical user interface and to specify the certificates in the installation wizard. The strange thing is that the certificate options do not show up in any of the configuration files after the installation is complete and forwarding also does not work.
Has anyone successfully configured forwarding over SSL/TLS from a Windows host or is this only supported on Linux hosts?
Labels (2)
0 Karma


Does anyone have any experience with this?

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.