<?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: Accessing apps in 6.4.x results in &amp;quot;Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:c in Security</title>
    <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/695482#M18057</link>
    <description>&lt;P&gt;I just had this exact issue installing Splunk on a Windows 2022 Server running on ESXi. Followed your advice and worked like a charm. Thank you, sir.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 02:13:48 GMT</pubDate>
    <dc:creator>Mrshenanigans01</dc:creator>
    <dc:date>2024-08-07T02:13:48Z</dc:date>
    <item>
      <title>Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241328#M6739</link>
      <description>&lt;P&gt;After moving to Splunk 6.4.x, the following error can occur in the UI when navigating to:&lt;/P&gt;

&lt;P&gt;Apps —&amp;gt; Browse more apps&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the splunkd.log file, the following errors also occur:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-04-2016 03:40:40.509 -0400 ERROR ApplicationUpdater - Error checking for update, URL=https://apps.splunk.com/api/apps:resolve/checkforupgrade: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

08-04-2016 05:06:21.332 -0400 ERROR X509Verify - X509 certificate (CN=XXXXXX,DC=XXXXX,DC=local) failed validation; error=19, reason="self signed certificate in certificate chain"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2016 17:54:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241328#M6739</guid>
      <dc:creator>arowsell_splunk</dc:creator>
      <dc:date>2016-08-19T17:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241329#M6740</link>
      <description>&lt;P&gt;The issue occurs when you intercept/decode network packets and then re-encrypt the SSL stream with our own internal CA Root keys. To solve the issue:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Find the appsCA.pem in the $SPLUNK_HOME/etc/auth on the Splunk search head.&lt;/LI&gt;
&lt;LI&gt;Back this file up before making any changes.&lt;/LI&gt;
&lt;LI&gt;Open the file with a text editor and copy you internal CA Root to the appsCA.pem, for example:&lt;/LI&gt;
&lt;/OL&gt;

&lt;PRE&gt;-----BEGIN CERTIFICATE-----
SPLUNK CERT HERE
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
CUSTOMER INTERNAL CA ROOT HERE
-----END CERTIFICATE-----&lt;/PRE&gt;

&lt;P&gt;You must restart Splunk after these changes.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 18:00:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241329#M6740</guid>
      <dc:creator>arowsell_splunk</dc:creator>
      <dc:date>2016-08-19T18:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241330#M6741</link>
      <description>&lt;P&gt;I am having this exact same problem but the suggested resolution did not correct it. Any other suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 20:45:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241330#M6741</guid>
      <dc:creator>corey_reynders</dc:creator>
      <dc:date>2016-09-13T20:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241331#M6742</link>
      <description>&lt;P&gt;Hi Corey,&lt;/P&gt;

&lt;P&gt;The solution is really dependent on your network architecture. You may also have a Root and/or an Intermediate CA. So you may also have to add these as well, for example:&lt;/P&gt;

&lt;P&gt;-----BEGIN CERTIFICATE-----&lt;BR /&gt;
    SERVER CERT HERE&lt;BR /&gt;
-----END CERTIFICATE-----&lt;/P&gt;

&lt;P&gt;-----BEGIN CERTIFICATE-----&lt;BR /&gt;
    INTERMEDIATE CA IF REQUIRED&lt;BR /&gt;
-----END CERTIFICATE-----&lt;/P&gt;

&lt;P&gt;-----BEGIN CERTIFICATE-----&lt;BR /&gt;
    ROOT CA&lt;BR /&gt;
-----END CERTIFICATE-----&lt;/P&gt;

&lt;P&gt;If this does not help, you may like to raise a case with Splunk support. &lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 09:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241331#M6742</guid>
      <dc:creator>arowsell_splunk</dc:creator>
      <dc:date>2016-09-19T09:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241332#M6743</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;

&lt;P&gt;I've tried this order (what I had when I posted) :&lt;BR /&gt;
===OOTB SPLUNK CERTS (x3)===&lt;BR /&gt;
===MY ROOT===&lt;BR /&gt;
===MY INTERMEDIATE===&lt;BR /&gt;
===MY SERVER===&lt;/P&gt;

&lt;P&gt;and this order (based on your post, in case the order matters) :&lt;/P&gt;

&lt;P&gt;===OOTB SPLUNK CERTS (x3)===&lt;BR /&gt;
===MY SERVER===&lt;BR /&gt;
===MY INTERMEDIATE===&lt;BR /&gt;
===MY ROOT===&lt;/P&gt;

&lt;P&gt;So far neither order corrects my issue. I do not have support (yet).&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 15:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241332#M6743</guid>
      <dc:creator>corey_reynders</dc:creator>
      <dc:date>2016-09-19T15:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241333#M6744</link>
      <description>&lt;P&gt;Hi Corey,&lt;/P&gt;

&lt;P&gt;It is difficult to say without looking at a Splunk diag, your certs and a network trace. I would recommend that you run a network trace (e.g. wireshark) and see where in the SSL handshake it is failing.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 08:42:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241333#M6744</guid>
      <dc:creator>arowsell_splunk</dc:creator>
      <dc:date>2016-09-20T08:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241334#M6745</link>
      <description>&lt;P&gt;This also worked where a PaloAlto firewall encrypted data coming into splunk &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 12:05:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241334#M6745</guid>
      <dc:creator>nclancy_splunk</dc:creator>
      <dc:date>2017-01-12T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241335#M6746</link>
      <description>&lt;P&gt;This can also occur in following scenario...&lt;/P&gt;

&lt;P&gt;'server.conf', in stanza [sslConfig] , a custom CA is defined in paramater "sslRootCAPath" &lt;/P&gt;

&lt;P&gt;example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
..
sslRootCAPath = /opt/certs/myCA.pem
..
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this case,  per the docs,  if param “sslRootCAPath” has been set (in stanza ‘sslConfig’) then caCertFile will be ignored.&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf&lt;/A&gt;&lt;BR /&gt;
[applicationsManagement]&lt;BR /&gt;
…&lt;BR /&gt;
caCertFile = &lt;BR /&gt;
* Full path to a CA (Certificate Authority) certificate(s) PEM format file.&lt;BR /&gt;
* The  must refer to a PEM format file containing one or more root CA&lt;BR /&gt;
  certificates concatenated together.&lt;BR /&gt;
* Used only if 'sslRootCAPath' is unset.&lt;BR /&gt;
* Used for validating SSL certificate from &lt;A href="https://apps.splunk.com/"&gt;https://apps.splunk.com/&lt;/A&gt;&lt;BR /&gt;
…&lt;/P&gt;

&lt;H2&gt;e.g  this flow..&lt;/H2&gt;

&lt;P&gt;splunkd ——&amp;gt; splunkbase &lt;BR /&gt;
&amp;lt;—— sends server cert signed by CA GlobalSign &lt;/P&gt;

&lt;H2&gt;splunkd verifies the server cert against your custom cert in file defined in sslRootCAPath , which does not contain the CA GlobalSign (this is defined in $SPLUNK_HOME/etc/auth/appsCA.pem) &lt;/H2&gt;

&lt;P&gt;To get round this,  concatenate the appsCA.pem contents to your custom CA (as defined in sslRootCAPath in the [sslConfig] stanza) &lt;/P&gt;

&lt;H1&gt;make a backup of your custom CA first&lt;/H1&gt;

&lt;P&gt;cp yourCustomCA.pem yourCustomCA.pem.backup &lt;BR /&gt;
cat $SPLUNK_HOME/etc/auth/appsCA.pem &amp;gt;&amp;gt; yourCustomCA.pem &lt;/P&gt;

&lt;P&gt;then restart splunk &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 14:56:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241335#M6746</guid>
      <dc:creator>jbarlow_splunk</dc:creator>
      <dc:date>2017-01-31T14:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241336#M6747</link>
      <description>&lt;P&gt;I found jbarlow's answer to work best for my environment. I can now access &lt;A href="https://splunkbase.splunk.com"&gt;https://splunkbase.splunk.com&lt;/A&gt; using my own self-signed certs. I did finally have to quit trying to use my squid proxy to do so, though. Guess access to apps does not support https_proxy to HTTPS squid endpoint. I had to open my external firewall to allow SplunkLight out for HTTP/HTTPS which was previously disabled per PCI QSA request.&lt;/P&gt;

&lt;P&gt;I only did this on the SplunkLight server (add appsCA.pem to my splunkCA.tds.pci.pem. I did not do the same on my forwarders which use the original splunkCA.tds.pci.crt (in PEM format) and that could be a concern since now they differ. May need to do the same on the forwarders to insure a single version of the truth.&lt;/P&gt;

&lt;P&gt;This was related to me replacing all of the splunk certs (except for those dang apps certs) with my own self-signed certs due to the default Splunk CA cert being signed with a weak algorithm (yep - PCI QSA again).&lt;/P&gt;</description>
      <pubDate>Sat, 13 Oct 2018 00:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241336#M6747</guid>
      <dc:creator>kiles</dc:creator>
      <dc:date>2018-10-13T00:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241337#M6748</link>
      <description>&lt;P&gt;I think my appsCA.pem got messed up. I copied it from another instance and was able to get this to function without any weird config or root/intermediate changes.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 15:47:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/241337#M6748</guid>
      <dc:creator>corey_reynders</dc:creator>
      <dc:date>2018-10-15T15:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing apps in 6.4.x results in "Error connecting: error:14090086:SSL routines:ssl3_get_server_certificate:c</title>
      <link>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/695482#M18057</link>
      <description>&lt;P&gt;I just had this exact issue installing Splunk on a Windows 2022 Server running on ESXi. Followed your advice and worked like a charm. Thank you, sir.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 02:13:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Accessing-apps-in-6-4-x-results-in-quot-Error-connecting-error/m-p/695482#M18057</guid>
      <dc:creator>Mrshenanigans01</dc:creator>
      <dc:date>2024-08-07T02:13:48Z</dc:date>
    </item>
  </channel>
</rss>

