Getting Data In

web.conf not working for dhfile in 2048 encryption

tlam_splunk
Splunk Employee
Splunk Employee

Setup the web.conf using dhFile at 2048 encryption

web.conf
dhFile = $SPLUNK_HOME\etc\auth\splunkweb\DH2048.pem

Here is the command to generate the key

openssl.exe gendh -out "c:\program files\splunk\etc\auth\splunkweb\DH_2048.pem" 2048

After set it up, splunk web will not start without any error in the log file.

Tags (1)

tlam_splunk
Splunk Employee
Splunk Employee

Have to add the double quote for the parameter value in dhFile

dhFile = "$SPLUNK_HOME\etc\auth\splunkweb\DH2048.pem"

jcrabb_splunk
Splunk Employee
Splunk Employee

Just an additional comment, if one wishes to utilize the dhFile setting in server.conf, on a windows host, Splunk may not start unless there are quotes (" ") around the setting. I added that to another post as well:

Jacob
Sr. Technical Support Engineer
0 Karma

DimasSouza
Path Finder

Maybe it could be inserted as known issue or a bug?

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...