<?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: I am getting Certificate Error in Training + Certification Discussions</title>
    <link>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420275#M549</link>
    <description>&lt;P&gt;You need a certificate that specifies the alt name, which doesn't happen when in the Splunk guide for cert creation.&lt;/P&gt;

&lt;P&gt;One option would be to follow Step 3 in this guide.  If you have a single server that creates all your certificates, you would need to change openssl.cnf before each cert creation. FYI, changing these type of files will cause a manifest error until you either put the old file back or upgrade.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.hurricanelabs.com/splunk-tutorials/splunk-certificates-master-guide"&gt;https://www.hurricanelabs.com/splunk-tutorials/splunk-certificates-master-guide&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Edit the openSSL file
vi /opt/splunk/openssl/openssl.cnf

# Uncomment out the Request Extensions options

    # Optional: Use "/" to search for req_extensions

    Change FROM: #req_extensions = v3_req # The extensions to add to a certificate request
             TO: req_extensions = v3_req # The extensions to add to a certificate request

    # Optional: Use "/" to search for v3_req 

#Add extended key usage 'subjectAltName = DNS:&amp;lt;FQDN&amp;gt;, DNS:&amp;lt;hostname&amp;gt;, IP:&amp;lt;ip_address&amp;gt;'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 18 Mar 2020 12:15:45 GMT</pubDate>
    <dc:creator>_joe</dc:creator>
    <dc:date>2020-03-18T12:15:45Z</dc:date>
    <item>
      <title>I am getting Certificate Error</title>
      <link>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420270#M544</link>
      <description>&lt;P&gt;HI, I have configured SSL in Splunk . It is not self signed but issued by Certified Authority.&lt;/P&gt;

&lt;P&gt;I have enabled https option from Splunk GUI also. I am using 7.1.1 version.&lt;/P&gt;

&lt;P&gt;Now, the problem is . If I open my SH with https it is opening, but Certificate Error is giving :&lt;/P&gt;

&lt;P&gt;This page is not secure (broken HTTPS).&lt;BR /&gt;
Certificate - Subject Alternative Name missing&lt;BR /&gt;
The certificate for this site does not contain a Subject Alternative Name extension containing a domain name or IP address.&lt;BR /&gt;
View certificate&lt;BR /&gt;
Certificate - missing&lt;/P&gt;

&lt;P&gt;The hostname in the website’s security certificate differs from the website you are trying to visit. &lt;BR /&gt;
Error Code: DLG_FLAGS_SEC_CERT_CN_INVALID&lt;/P&gt;

&lt;P&gt;I am getting this by pressing F12 and Security tab and my URL is becoming red and https is getting striked out. &lt;/P&gt;

&lt;P&gt;Kindly help in solving this !!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420270#M544</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2020-09-29T20:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting Certificate Error</title>
      <link>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420271#M545</link>
      <description>&lt;P&gt;Thanks it is solved, I did it myself !!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 05:45:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420271#M545</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2018-07-05T05:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting Certificate Error</title>
      <link>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420272#M546</link>
      <description>&lt;P&gt;How did you fix this?  &lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 13:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420272#M546</guid>
      <dc:creator>ichea</dc:creator>
      <dc:date>2018-10-18T13:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting Certificate Error</title>
      <link>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420273#M547</link>
      <description>&lt;P&gt;Please provide input on what you did to fix this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420273#M547</guid>
      <dc:creator>DBattisto</dc:creator>
      <dc:date>2019-03-06T13:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting Certificate Error</title>
      <link>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420274#M548</link>
      <description>&lt;P&gt;You've kind of answered your own question, but the error is because the certificate specified in the CN field of your certificate and your host don't match. &lt;/P&gt;

&lt;P&gt;Here are some helpful steps if you are using Linux and Splunk Home is "/opt/splunk"&lt;BR /&gt;
I - Find what host your using&lt;BR /&gt;
/opt/splunk/bin/splunk btool web list | grep serverCert&lt;/P&gt;

&lt;P&gt;2 - Check your CN&lt;BR /&gt;
/opt/splunk/bin/splunk cmd openssl x509 -in  .pem -text  | grep Subject:&lt;/P&gt;

&lt;P&gt;It could be something as simple as just needing to specify the FQDN&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 11:49:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420274#M548</guid>
      <dc:creator>_joe</dc:creator>
      <dc:date>2019-07-12T11:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting Certificate Error</title>
      <link>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420275#M549</link>
      <description>&lt;P&gt;You need a certificate that specifies the alt name, which doesn't happen when in the Splunk guide for cert creation.&lt;/P&gt;

&lt;P&gt;One option would be to follow Step 3 in this guide.  If you have a single server that creates all your certificates, you would need to change openssl.cnf before each cert creation. FYI, changing these type of files will cause a manifest error until you either put the old file back or upgrade.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.hurricanelabs.com/splunk-tutorials/splunk-certificates-master-guide"&gt;https://www.hurricanelabs.com/splunk-tutorials/splunk-certificates-master-guide&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Edit the openSSL file
vi /opt/splunk/openssl/openssl.cnf

# Uncomment out the Request Extensions options

    # Optional: Use "/" to search for req_extensions

    Change FROM: #req_extensions = v3_req # The extensions to add to a certificate request
             TO: req_extensions = v3_req # The extensions to add to a certificate request

    # Optional: Use "/" to search for v3_req 

#Add extended key usage 'subjectAltName = DNS:&amp;lt;FQDN&amp;gt;, DNS:&amp;lt;hostname&amp;gt;, IP:&amp;lt;ip_address&amp;gt;'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Mar 2020 12:15:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Training-Certification/I-am-getting-Certificate-Error/m-p/420275#M549</guid>
      <dc:creator>_joe</dc:creator>
      <dc:date>2020-03-18T12:15:45Z</dc:date>
    </item>
  </channel>
</rss>

