Why am I unable to configure SSL for Splunk Web?

Path Finder


I've tried to configure SSL for Web access, but it's not working:

12-01-2016 11:18:39.867 +0100 ERROR SSLCommon - Can't read key file D:\splunk\etc\auth\splunkweb\splunk.key errno=185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch.
12-01-2016 11:18:39.867 +0100 ERROR HTTPServer - SSL context could not be created - error in cert or password is wrong
12-01-2016 11:18:39.867 +0100 ERROR HTTPServer - SSL will not be enabled

I've used this guide:

My web.conf:

SSOMode = permissive
trustedIP = ::1,,
remoteUser = X-Forwarded-User
tools.proxy.on = False
updateCheckerBaseURL = 0
enableSplunkWebSSL = 1
tools.sessions.timeout = 720
enable_insecure_login = True
httpport = 8000
privKeyPath = D:\splunk\etc\auth\splunkweb\splunk.key
caCertPath = D:\splunk\etc\auth\splunkweb\splunk.pem

Key and certificate matching together. Key has no password.

The file splunk.pem contains server, subordinate ca and root ca certificate (as described in the guide).

Whats wrong? I've done it exactly as described in the guide...

0 Karma


You can use these keys to validate the integrity of your private key, CSR, and pem.
The STDIN values should all match.

openssl rsa -noout -modulus -in splunk.key | openssl md5
(stdin)= ca1cc4ca1dbe1a6cfda25eb5c2703fb1

openssl req -noout -modulus -in Your-splunk.csr | openssl md5
(stdin)= ca1cc4ca1dbe1a6cfda25eb5c2703fb1

openssl x509 -noout -modulus -in splunk.pem | openssl md5
(stdin)= ca1cc4ca1dbe1a6cfda25eb5c2703fb1

The incorrect value should illustrate which ssl component has a problem.


0 Karma
Get Updates on the Splunk Community!

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...