<?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: Splunk Web Certificate Self Signing:  - Invalid Argument in Security</title>
    <link>https://community.splunk.com/t5/Security/Splunk-Web-Certificate-Self-Signing-Invalid-Argument/m-p/425453#M10048</link>
    <description>&lt;P&gt;Hey@westy74,&lt;/P&gt;

&lt;P&gt;You can refer this link:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 06:12:30 GMT</pubDate>
    <dc:creator>deepashri_123</dc:creator>
    <dc:date>2018-08-24T06:12:30Z</dc:date>
    <item>
      <title>Splunk Web Certificate Self Signing:  - Invalid Argument</title>
      <link>https://community.splunk.com/t5/Security/Splunk-Web-Certificate-Self-Signing-Invalid-Argument/m-p/425452#M10047</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am pretty much a novice on Splunk certificate management.&lt;/P&gt;

&lt;P&gt;I have ran into an error in trying to self-sign Splunk web certifications. &lt;BR /&gt;
Command string and output as follows:&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;C:&amp;gt;"c:\Program Files\Splunk\bin\splunk.exe" createssl web-cert -n  -l 3072 Generating a 3072 bit RSA private key&lt;BR /&gt;
..............................++&lt;BR /&gt;
................................................................................&lt;BR /&gt;
........................................................++&lt;/P&gt;

&lt;H2&gt;writing new private key to 'privKeySecure.pem'&lt;/H2&gt;

&lt;P&gt;Signature ok&lt;BR /&gt;
subject=/CN=,server_name&amp;gt;/O=SplunkUser&lt;BR /&gt;
c:\Program Files\Splunk\C:\Program Files\Splunk\etc\auth\splunkweb\cert.pem: Invalid argument&lt;/P&gt;

&lt;H2&gt;Command failed (ret=1), exiting.&lt;/H2&gt;

&lt;P&gt;The results from this is that I am getting a new privateKeySecure.pem but not a new cert.pem.&lt;BR /&gt;
The private key is being dropped into the $\etc\auth folder.&lt;/P&gt;

&lt;P&gt;I am running Splunk Ent. Version 7.1.0 on windows.&lt;/P&gt;

&lt;P&gt;Web.conf in local $\etc\system\local looks like this:&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;[settings]&lt;BR /&gt;
enableSplunkWebSSL = 1&lt;BR /&gt;
privKeyPath = C:\Program Files\Splunk\etc\auth\splunkweb\server.key&lt;/P&gt;

&lt;H2&gt;caCertPath = C:\Program Files\Splunk\etc\auth\splunkweb\cert.pem&lt;/H2&gt;

&lt;P&gt;I am pretty sure the problem solution lies in the output where the following is not a correct path, but a double up:&lt;/P&gt;

&lt;H2&gt;"c:\Program Files\Splunk\C:\Program Files\Splunk\etc\auth\splunkweb\cert.pem"&lt;/H2&gt;

&lt;P&gt;Any thoughts or ideas on howto fix would be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;

&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 00:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-Web-Certificate-Self-Signing-Invalid-Argument/m-p/425452#M10047</guid>
      <dc:creator>westy74</dc:creator>
      <dc:date>2018-08-24T00:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Web Certificate Self Signing:  - Invalid Argument</title>
      <link>https://community.splunk.com/t5/Security/Splunk-Web-Certificate-Self-Signing-Invalid-Argument/m-p/425453#M10048</link>
      <description>&lt;P&gt;Hey@westy74,&lt;/P&gt;

&lt;P&gt;You can refer this link:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 06:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-Web-Certificate-Self-Signing-Invalid-Argument/m-p/425453#M10048</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-08-24T06:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Web Certificate Self Signing:  - Invalid Argument</title>
      <link>https://community.splunk.com/t5/Security/Splunk-Web-Certificate-Self-Signing-Invalid-Argument/m-p/425454#M10049</link>
      <description>&lt;P&gt;@westy74,&lt;/P&gt;

&lt;P&gt;From the output, it looks like splunk is considering the path as relative and prefixing $SPLUNK_HOME value to the path. You could try providing relative path in the conf and try generating certificate. Once the certificates are generated, you may revert it in case it has an impact on other configurations.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 12:46:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-Web-Certificate-Self-Signing-Invalid-Argument/m-p/425454#M10049</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-08-24T12:46:38Z</dc:date>
    </item>
  </channel>
</rss>

