Security

how do I define an intermediate certificate authority for SplunkWeb?

matt
Splunk Employee
Splunk Employee

I have an SSL cert signed by a third-party CA. I point to it in the in the web.conf file (caCertPath=/certs/cert.pem), restart splunkweb and connect via https://server:8000. I can see my cert file is being read, but the connection is untrusted because I haven't installed the intermediate cert file anywhere. HOW/WHERE do I install the intermediate cert?

1 Solution

dwaddle
SplunkTrust
SplunkTrust

Hi Matt,

This should work, based on my reading of the Python SSL stuff in Python 2.6 w/ Cherrypy (which is what sits under mrsparkle)

Put both your intermediate cert and your issued cert in the cert.pem file, one after the other. Borrowing from the python docs:

-----BEGIN CERTIFICATE-----
... (certificate for your server)...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
... (the intermediate certificate)...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
... (the root certificate for the CA)...
-----END CERTIFICATE-----

If you don't have the root cert I don't think it is strictly necessary, as the client's browser should have it.

View solution in original post

dwaddle
SplunkTrust
SplunkTrust

Hi Matt,

This should work, based on my reading of the Python SSL stuff in Python 2.6 w/ Cherrypy (which is what sits under mrsparkle)

Put both your intermediate cert and your issued cert in the cert.pem file, one after the other. Borrowing from the python docs:

-----BEGIN CERTIFICATE-----
... (certificate for your server)...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
... (the intermediate certificate)...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
... (the root certificate for the CA)...
-----END CERTIFICATE-----

If you don't have the root cert I don't think it is strictly necessary, as the client's browser should have it.

adamw
Communicator

What about using Apache in front of Splunkweb. I would very much recommend it. There are other solutions on answers using Mod_proxy in Apache to do this.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...