<?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 Opentelemetry Splunk Hec Exporter x509: certificate is not valid for any names, but wanted to match &amp;lt;Splunk_Link&amp;gt; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Opentelemetry-Splunk-Hec-Exporter-x509-certificate-is-not-valid/m-p/652175#M110745</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to export data into Splunk using splunkhecexporter by Opentelemetry with TLS insecure_skip_verify=false. When I tried to send it into Splunk, it will shows an error message. After that, I tried to add in the TLS certificate inside the configuration, it still shows the same error message. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Following is the configuration I configured in Opentelemetry .yaml&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;exporters:&lt;BR /&gt;logging:&lt;BR /&gt;verbosity: detailed&lt;/P&gt;&lt;P&gt;splunk_hec:&lt;BR /&gt;token: "SPLUNK HEC TOKEN"&lt;BR /&gt;endpoint: "SPLUNK COLLECTOR URL"&lt;BR /&gt;tls:&lt;BR /&gt;ca_file: /etc/ssl/certs/cert.crt&lt;BR /&gt;cert_file: /etc/ssl/certs/&amp;lt;Splunk_cert&amp;gt;.crt&lt;BR /&gt;key_file: /etc/ssl/certs/&amp;lt;Splunk_Key&amp;gt;.key&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;Following is the error message prompted.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%" height="24px"&gt;2023-07-26T06:12:01.308Z info exporterhelper/queued_retry.go:433 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "metrics", "name": "splunk_hec", "error": "Post \"https://&amp;lt;SPLUNK_LINK&amp;gt;:&amp;lt;SPLUNK_PORT&amp;gt;/services/collector\": x509: certificate is not valid for any names, but wanted to match &amp;lt;SPLUNK DNS&amp;gt;", "interval": "7.402035261s"}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know what causes this to happen and how to solve this issue, please?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 05:27:37 GMT</pubDate>
    <dc:creator>ericaooi</dc:creator>
    <dc:date>2023-07-27T05:27:37Z</dc:date>
    <item>
      <title>Opentelemetry Splunk Hec Exporter x509: certificate is not valid for any names, but wanted to match &lt;Splunk_Link&gt;</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Opentelemetry-Splunk-Hec-Exporter-x509-certificate-is-not-valid/m-p/652175#M110745</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to export data into Splunk using splunkhecexporter by Opentelemetry with TLS insecure_skip_verify=false. When I tried to send it into Splunk, it will shows an error message. After that, I tried to add in the TLS certificate inside the configuration, it still shows the same error message. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Following is the configuration I configured in Opentelemetry .yaml&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;exporters:&lt;BR /&gt;logging:&lt;BR /&gt;verbosity: detailed&lt;/P&gt;&lt;P&gt;splunk_hec:&lt;BR /&gt;token: "SPLUNK HEC TOKEN"&lt;BR /&gt;endpoint: "SPLUNK COLLECTOR URL"&lt;BR /&gt;tls:&lt;BR /&gt;ca_file: /etc/ssl/certs/cert.crt&lt;BR /&gt;cert_file: /etc/ssl/certs/&amp;lt;Splunk_cert&amp;gt;.crt&lt;BR /&gt;key_file: /etc/ssl/certs/&amp;lt;Splunk_Key&amp;gt;.key&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;Following is the error message prompted.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%" height="24px"&gt;2023-07-26T06:12:01.308Z info exporterhelper/queued_retry.go:433 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "metrics", "name": "splunk_hec", "error": "Post \"https://&amp;lt;SPLUNK_LINK&amp;gt;:&amp;lt;SPLUNK_PORT&amp;gt;/services/collector\": x509: certificate is not valid for any names, but wanted to match &amp;lt;SPLUNK DNS&amp;gt;", "interval": "7.402035261s"}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know what causes this to happen and how to solve this issue, please?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 05:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Opentelemetry-Splunk-Hec-Exporter-x509-certificate-is-not-valid/m-p/652175#M110745</guid>
      <dc:creator>ericaooi</dc:creator>
      <dc:date>2023-07-27T05:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Opentelemetry Splunk Hec Exporter x509: certificate is not valid for any names, but wanted to match &lt;Splunk_Link&amp;</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Opentelemetry-Splunk-Hec-Exporter-x509-certificate-is-not-valid/m-p/653293#M110808</link>
      <description>&lt;P&gt;In&amp;nbsp;/etc/ssl/certs/cert.crt do you have the corresponding CA that signed the certificate presented by the HEC endpoint that you are attempting to connect to?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 22:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Opentelemetry-Splunk-Hec-Exporter-x509-certificate-is-not-valid/m-p/653293#M110808</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2023-08-04T22:48:26Z</dc:date>
    </item>
  </channel>
</rss>

