Getting Data In

Can we configure HF to receive encrypted traffic using SSL with port 9996 and port 9997 at a same time, using different cert for each,

ashishamalviya1
Explorer

HF config eg:-

inputs.conf

[splunktcp-ssl://9997]
disabled = 0

[SSL]
password = abc
requireClientCert = true
rootCA = /opt/splunk/splunk/etc/system/certs/xyz.pem
serverCert = /opt/splunk/splunk/etc/system/certs/abc.pem
sslVersions = tls

[splunktcp-ssl://9996]
disabled = 0

[SSL]
password = abc
requireClientCert = true
rootCA = /opt/splunk/splunk/etc/system/certs/xyz.cer
serverCert = /opt/splunk/splunk/etc/system/certs/def.pem
sslVersions = tls

using two different cert as one create with sha1 and other with sha256

Thanking

Tags (1)
0 Karma

jkat54
SplunkTrust
SplunkTrust

Yes but you put all the SSL KvPs you have under the splunktcp-ssl stanzas instead.

[splunktcp-ssl]
serverCert =
sslPassword =
requireClientCert =
sslVersions =
cipherSuite =
ecdhCurves =
dhFile =
allowSslRenegotiation = true|false
sslQuietShutdown = [true|false]
sslCommonNameToCheck = , , ...
sslAltNameToCheck = , , ...

ashishamalviya1
Explorer

above inputs.conf is working config if run with only single stanza, (i.e. either port 9996 or 9997), but this wont work when we combine config as shown above,
please try to provide config eg,

0 Karma

jkat54
SplunkTrust
SplunkTrust

You can't have two [SSL] stanzas in the same inputs.conf. They are conflicting with one another.

You need to configure each cert under their respective [splunktcp-ssl://PORT] stanzas

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...