Skip to main content

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.disableHostnameVerification

    This disables verification of the name in the certificate. Other certificate properties will still be validated.

  • Specify the insecure option:

    --insecure on the command line

    or

    insecure = yes in the configuration file.