Splunk Enterprise

SSL enabled between deployment server and deployment client (UF)

krusovice
Path Finder

In my environment, I've setup the SSL communication and authentication between Deployment Server and its deployment client. It is working fine.

The trouble came when nearly 1 year - the renewal of the SSL is needed, meaning the server.pem and cacert.pem in UF require to be updated with renewed SSL. 

For the first year, we have used DS to push the SSL cert over to UF. Question is - is there any way to push the second year's SSL cert (server.pem and cacert.pem) over to UF using Deployment servers while the first year SSL still valid?

Or is there any best practice how to renew the cert in UF (deployment client) in yearly basis?

 

Thanks.

Labels (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Hi

the best way to renew those is dependent on your way to use those. If you have use individual certificate in every node then you definitely need some tool which will manage that. But as the normal way to do this with splunk is to use one (or only few) cert for all UFs then it's much easier. Depending on place where you have put your cert files on UF you need a separate deployment tool (e.g. ansible, any MS based for windows) to renew those or use DS to add that on separate TA/SA on clients and then restart those.

r. Ismo

View solution in original post

0 Karma

msquicc
Path Finder

did you wind up getting a good solution in place for pushing new certs from the deployment server?  

0 Karma

isoutamo
SplunkTrust
SplunkTrust
You should create an own app which contains all those needed certs. If you have Splunk Cloud in use you can copy the idea from its Universal Forwarder app.
Of course it needs that you have added your own private CA.pem into Splunk's CA certs file if you have this in use.
0 Karma

msquicc
Path Finder

thanks, yea, I was planning on giving that a shot, but mostly interested in how to replace those certs on the UFs before they expire.  

ansible / MS tools could be a backup, but I'd really like to implement and have it fully controlled from the deployment server.  

so, just thinking through it, updating the cert(s) in this app would push out the updated certs to the UFs, but then all of the UFs would fail to phone home until I update the certs on the deployment server?  then I'd have to hope that everything works from a fully broken state?  just seems risky.  

open to suggestions, and maybe I'm over thinking some of it.  

wondering if anyone's accomplished this in a safe practical way?  @krusovice, what did you wind up doing?

0 Karma

SinghK
Builder

Ow, are you saying that you pushed a common ssl cert to all UF's?

0 Karma

krusovice
Path Finder

Yes, in our environment, there is cacert.pem and server.pem sit in the UF that require to annually renewed.

Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

the best way to renew those is dependent on your way to use those. If you have use individual certificate in every node then you definitely need some tool which will manage that. But as the normal way to do this with splunk is to use one (or only few) cert for all UFs then it's much easier. Depending on place where you have put your cert files on UF you need a separate deployment tool (e.g. ansible, any MS based for windows) to renew those or use DS to add that on separate TA/SA on clients and then restart those.

r. Ismo

0 Karma

tinatan
Engager

Thank you for the reply, we are using one cert applied to all UFs.

Tags (1)
0 Karma

SinghK
Builder

my understanding was ssl cert was very unique with priv key and everything unless csr  and key is not generated on server it will not work.

i am very interested in the topic lets ask isoutamo or anyone else who can help.

 

@isoutamo 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...