TLS Certificate Validation
Validation of the certificates used for https connections to Splunk can be disabled if required. This makes the connection insecure and should only be used for testing purposes.
There are 2 ways to disable the validation:
-
Add an option to the JVM startup parameters:
-Djdk.internal.httpclient.disableHostnameVerificationThis disables verification of the name in the certificate. Other certificate properties will still be validated.
-
Specify the insecure option:
--insecureon the command lineor
insecure = yesin the configuration file.