Security

Why do I get an error when trying to start TCP input with SSL?

benlc
Path Finder

I got the following Error when trying to Start TCPInput with SSL:

ERROR SSLCommon - can't load CA certificates from /opt/splunk/etc/apps/XXXX/certs/XXXX.crt

Very straight forward config:

inputs.conf

[splunktcp-ssl:9997]
disabled = 0

[SSL]
sslPassword = XXXXXXXXXXXXX
serverCert = $SPLUNK_HOME/etc/apps/XXXXXXXX/certs/XXXXXX.pem
sslVersions = tls, -tls1.0
requireClientCert = true

server.conf:
[sslConfig]
sslRootCAPath = $SPLUNK_HOME/etc/apps/XXXXX/certs/XXXXX.crt

0 Karma
1 Solution

benlc
Path Finder

My CA-Certificate startet with

-----BEGIN TRUSTED CERTIFICATE-----

and ended in:
-----END TRUSTED CERTIFICATE-----

As soon as I deleted "TRUSTED" and made the CA-Cert look like the examples:
-----BEGIN CERTIFICATE-----
and
-----END CERTIFICATE-----

It finally worked. There is not much more info to link to.

View solution in original post

0 Karma

benlc
Path Finder

My CA-Certificate startet with

-----BEGIN TRUSTED CERTIFICATE-----

and ended in:
-----END TRUSTED CERTIFICATE-----

As soon as I deleted "TRUSTED" and made the CA-Cert look like the examples:
-----BEGIN CERTIFICATE-----
and
-----END CERTIFICATE-----

It finally worked. There is not much more info to link to.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...