<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSL configuration causing Mongo issues in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446592#M15680</link>
    <description>&lt;P&gt;Are you running this on a STIG-ed machine by any chance?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 02:18:16 GMT</pubDate>
    <dc:creator>Andrew_Callan</dc:creator>
    <dc:date>2019-12-13T02:18:16Z</dc:date>
    <item>
      <title>SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446588#M15676</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I was hoping for some additional thoughts, after I updated my Search Head to use custom certs I started getting the following error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR IntrospectionGenerator:resource_usage -  MongoDriver - mongoc: Cannot find certificate in ''
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Running Splunk 7.2.3 on Linux&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk btool server list sslConfig
[sslConfig]
allowSslCompression = true
allowSslRenegotiation = true
caCertFile = $SPLUNK_HOME/etc/auth/mycacert.pem
caPath = $SPLUNK_HOME/etc/auth
certCreateScript = $SPLUNK_HOME/bin/splunk, createssl, server-cert
cipherSuite = AES256-GCM-SHA384
ecdhCurves = prime256v1, secp384r1, secp521r1
enableSplunkdSSL = true
requireClientCert = false
sendStrictTransportSecurityHeader = false
serverCert = /opt/splunk/etc/auth/mycerts/.pem
sslPassword = 
sslRootCAPath = /opt/splunk/etc/auth/mycerts/myca.pem
sslVersions = tls1.2
sslVersionsForClient = tls1.2
useClientSSLCompression = true
useSplunkdClientSSLCompression = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Jul 2019 19:45:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446588#M15676</guid>
      <dc:creator>sparrowe</dc:creator>
      <dc:date>2019-07-01T19:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446589#M15677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;While looking at your configuration, it looks like .pem file name is incorrect for &lt;CODE&gt;serverCert&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It should be like this&lt;BR /&gt;
    serverCert = /opt/splunk/etc/auth/mycerts/yourcert.pem&lt;/P&gt;

&lt;P&gt;Also &lt;CODE&gt;sslPassword =&lt;/CODE&gt; is blank, you need to provide your cert key password. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 09:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446589#M15677</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-07-02T09:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446590#M15678</link>
      <description>&lt;P&gt;Thanks for your thoughts.&lt;/P&gt;

&lt;P&gt;I apologize I was unclear. I purposefully omitted my serverCert name when I pasted the configures. I also changed my real password to the word password surrounded by carrots but it seems the XML on this form removed that.&lt;/P&gt;

&lt;P&gt;SSL is working properly for sending and receiving data properly using my custom cert. I'm just not sure what I did to kill mongo DB&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 10:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446590#M15678</guid>
      <dc:creator>sparrowe</dc:creator>
      <dc:date>2019-07-02T10:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446591#M15679</link>
      <description>&lt;P&gt;I did below configuration in my lab environment and it is working fine (Splunk 7.2.6)&lt;/P&gt;

&lt;P&gt;server.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
sslPassword = $7$blablabla==
serverCert = /opt/splunk/etc/auth/mycert/server_combined.pem
sslRootCAPath = /opt/splunk/etc/auth/mycert/CAcert.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In &lt;CODE&gt;server_combined.pem&lt;/CODE&gt; , below key and cert are present in given order&lt;/P&gt;

&lt;P&gt;1.) server cert pem&lt;BR /&gt;
2.) server cert key&lt;BR /&gt;
3.) CA cert pem&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 13:17:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446591#M15679</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-07-02T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446592#M15680</link>
      <description>&lt;P&gt;Are you running this on a STIG-ed machine by any chance?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 02:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446592#M15680</guid>
      <dc:creator>Andrew_Callan</dc:creator>
      <dc:date>2019-12-13T02:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446593#M15681</link>
      <description>&lt;P&gt;I was getting this error due to an omission in my certificate.  The certificate's "Subject" has no "O=", "OU=", or "DC=" specified.  The default certificate created by Splunk uses "O=SplunkUser".  Since mine was created with HashiCorp Vault, I don't see a way to get it to add one of those in addition to the "CN=" in the Subject, so I guess I won't be able to use Vault-generated certificates for my kvstore.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 21:32:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446593#M15681</guid>
      <dc:creator>esalesapns2</dc:creator>
      <dc:date>2019-12-30T21:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446594#M15682</link>
      <description>&lt;P&gt;Having the same problem and yes, on a STIG-ed machine. The error started when enabling FIPS mode, including new SSL certificate (generated w/FIPS enabled and using the "splunk cmd openssl" commands). Any recommendations?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 00:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446594#M15682</guid>
      <dc:creator>jsmithn</dc:creator>
      <dc:date>2020-01-07T00:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446595#M15683</link>
      <description>&lt;P&gt;For my issue I discovered I needed to create a [kvstore] stanza in server.conf for FIPS to work.&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
caCertFile = path&lt;BR /&gt;
serverCert = path&lt;BR /&gt;
sslPassword = password&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 18:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446595#M15683</guid>
      <dc:creator>jsmithn</dc:creator>
      <dc:date>2020-01-07T18:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSL configuration causing Mongo issues</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446596#M15684</link>
      <description>&lt;P&gt;@jsmithn has it right, this is what I had to do to fix it also.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 18:46:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SSL-configuration-causing-Mongo-issues/m-p/446596#M15684</guid>
      <dc:creator>Andrew_Callan</dc:creator>
      <dc:date>2020-01-07T18:46:41Z</dc:date>
    </item>
  </channel>
</rss>

