Splunk Enterprise

WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for

AvinashShivhare
Loves-to-Learn Lots

I am building search head cluster.  But when i am initiating clustering i am getting below error. I am using below syntax for cluster initiation.  Please note I have checked my server.conf file in local directory and added entry as false for cliVerifyServerName and sslVerifyServerName. 

Also in web.conf enableSplunkWebSSL = false is already there .  

./splunk init shcluster-config -auth <username>:<password> -mgmt_uri <uri>:<managementport> -replication_port <replication port> -replication_factor <n> -conf_deploy_fetch_url <url>:<managementport> -secret <security_key> -shcluster_label <label>

WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details.
Login failed

I am not looking to setup any third party or self singed certificate as this is just for self learning. 

I would request your support. 

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

That message is a warning, not an error.  You can suppress it by setting cliVerifyServerName=true, but then you would need server names in your certificates.

---
If this reply helps you, Karma would be appreciated.
0 Karma

adnanhakiim
Loves-to-Learn Lots

how to give a name in our certificates?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

See the instructions at https://docs.splunk.com/Documentation/Splunk/9.0.4/Security/Getthird-partycertificatesforSplunkWeb#:...

---
If this reply helps you, Karma would be appreciated.
0 Karma

arfee_splunker
Explorer

Hi @richgalloway 

Which file and stanza name is the edit required in ?

0 Karma

SplunkingKnight
Explorer

Hi @arfee_splunker,

in the server.conf and the stanza [sslConfig], as shown in the warn message.

Best regards

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