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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...