Security

Splunk Web TLS from DigiCert PFX: restart hangs at “Waiting for web server …” and CA-bundle confusion

zksvc
Contributor

Hi all,

I’m trying to enable TLS on Splunk using a DigiCert certificate that I only have as a .pfx. I keep running into errors and I’m not fully sure whether my approach is correct. I’ve read several Splunk docs (server.conf/web.conf TLS settings, securing Splunk Web, certificate how-to’s), but the issue remains. I’d appreciate pointers to official, end-to-end guidance for the “I only have a PFX” scenario, and to hear if anyone has seen the same symptoms.


Environment

  • Splunk Enterprise: 9.x

  • OS: Linux (Ubuntu)

  • Goal: Use DigiCert certificate for Splunk Web (port 8000)

  • Inputs available: one .pfx file (exported from Windows/IIS)

Labels (4)
Tags (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

PFX is a PKCS12 file which means you probably requested the CA to create privkey/cert bundle for you (which is not the best idea - it's more secure to create our own pkey and only submit a CSR to the CA but that's not the point here).

Splunk doesn't handle PKCS12. It needs PEM-formatted crypto material. You need to use an external tool to extract pkey and cert (and cert chain probably) from the pfx file into separate PEM files. You can use openssl bundled with Splunk for this purpose. You could try java's keytool but I find its use more confusing.

Anyway, there are a lot of howtos on the internet about converting pkcs12 to pem.

EDIT: Oh, I see you have a file exported from a server on which it's already used. That means that it's either a wildcard cert (which is often a bad idea unless you have a TLS-terminating device at the perimeter of your environment) or you're trying to reuse some other subject's certificate (which is almost never a good idea)

Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...