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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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