<?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: How to change the Splunk Web URL secured by https? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246008#M6825</link>
    <description>&lt;P&gt;Now that we confirmed that it's resolving to the correct URL, let's move onto hiding the port number. The browser will interpret port 443  and not show it when keying in the URL. So if you want to hide the port number and only have to type in &lt;CODE&gt;mysplunkurl.co.in&lt;/CODE&gt; then you will need to change it from port 8000 to port 443. This can be done by going to &lt;CODE&gt;$SPLUNK_HOME/etc/system/local&lt;/CODE&gt; and adding the following to &lt;CODE&gt;web.conf&lt;/CODE&gt; and restart the Splunk service&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
enableSplunkWebSSL = 0
httpport = 443
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you do not have a &lt;CODE&gt;web.conf&lt;/CODE&gt; then go ahead and make it and add that stanza to it. &lt;/P&gt;

&lt;P&gt;*To anyone else reading this, I worked with @srami in the IRC and we resolved the error associated with changing the URL name&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2016 22:07:40 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2016-12-13T22:07:40Z</dc:date>
    <item>
      <title>How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/245999#M6816</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I like to update/rename the Splunk Web URL which is currently secured with HTTPS&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;E.g.&lt;/STRONG&gt; -&amp;gt; &lt;A href="https://localhost:8000"&gt;https://localhost:8000&lt;/A&gt;&lt;BR /&gt;
&lt;STRONG&gt;Rename/Update&lt;/STRONG&gt; -&amp;gt; &lt;A href="https://mysplunkurl.co.in"&gt;https://mysplunkurl.co.in&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;My plan is to update the DNS entry but I am unsure about what changes I need to make on Splunk. &lt;/P&gt;

&lt;P&gt;Really appreciate if you can share some information on the above.   &lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 21:08:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/245999#M6816</guid>
      <dc:creator>srami</dc:creator>
      <dc:date>2016-11-23T21:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246000#M6817</link>
      <description>&lt;P&gt;You can follow the following - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Security/TurnonbasicencryptionwithSplunkWeb"&gt;Turn on encryption (https) with Splunk Web&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 23:06:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246000#M6817</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-11-23T23:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246001#M6818</link>
      <description>&lt;P&gt;hi @srami , there is 2 ways of doing this&lt;/P&gt;

&lt;P&gt;You can do it by creating a web.conf under SPLUNK_HOME/etc/system/local&lt;/P&gt;

&lt;P&gt;Add the follwoing stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
httpport = &amp;lt;https port number&amp;gt;
enableSplunkWebSSL = true
privKeyPath = $SPLUNK_HOME/etc/auth/splunkweb/cert_name.key
caCertPath = $SPLUNK_HOME/etc/auth/splunkweb/cert_name.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restart Splunk service&lt;/P&gt;

&lt;P&gt;OR you could go into the GUI and do settings&amp;gt;system&amp;gt;server settings&amp;gt;General settings --&amp;gt; Splunk Web and select 'Enable SSL'&lt;/P&gt;

&lt;P&gt;Restart Splunk service, when it starts up, you will need to add https://&lt;/P&gt;

&lt;P&gt;You can change the URL name by editing server.conf under SPLUNK_HOME/etc/system/local&lt;/P&gt;

&lt;P&gt;Create the stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[general]
servername = mysplunkurl.co.in
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restart Splunk service&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 01:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246001#M6818</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-11-24T01:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246002#M6819</link>
      <description>&lt;P&gt;Hello, &lt;BR /&gt;
If you have a certificate and want to use it, your /opt/splunk/etc/system/local/web.conf to look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
enableSplunkWebSSL = 1
httpport = 8000
privKeyPath = $SPLUNK_HOME/etc/auth/splunkweb/your_cert_name.key
caCertPath = $SPLUNK_HOME/etc/auth/splunkweb/your_cert_name.pem
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Nov 2016 12:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246002#M6819</guid>
      <dc:creator>templier</dc:creator>
      <dc:date>2016-11-24T12:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246003#M6820</link>
      <description>&lt;P&gt;Hi @skoelpin,&lt;/P&gt;

&lt;P&gt;Thank you for the response. Really appreciate it!&lt;/P&gt;

&lt;P&gt;I evaluated both the approaches you provided and have some questions on them below: &lt;BR /&gt;
Approach 1: &lt;BR /&gt;
a) How does the certificate impact the Splunk URL? &lt;BR /&gt;
b) Not sure where to add the new URL name using this approach? &lt;/P&gt;

&lt;P&gt;Approach 2: &lt;BR /&gt;
c) Will I need certificates to start using the new URL listed in the server.conf file? &lt;BR /&gt;
d) How will other systems in the environment resolve this URL? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 20:10:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246003#M6820</guid>
      <dc:creator>srami</dc:creator>
      <dc:date>2016-11-29T20:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246004#M6821</link>
      <description>&lt;P&gt;I think mis-read the question, I see you already have SSL enabled and want to change the URL and want to know if this will impact the SSL. &lt;/P&gt;

&lt;P&gt;I have not tried this, so I cannot give you a 100% accurate answer. BUT, I have enabled SSL and generated certs so I can give you a most likely answer.. When generating the cert/pem file, it's relative to the host, not the URL so any changes to the URL should not be affected &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Security/Self-signcertificatesforSplunkWeb"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Security/Self-signcertificatesforSplunkWeb&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So go into your &lt;CODE&gt;server.conf&lt;/CODE&gt; and modify the name of the URL and this should do the trick (I would test in a sandbox environment first before making changes in production).. The only thing this "should" affect is the URL used to access Splunk. So if you have 10 people using that URL to access Splunk, you will then need to notify 10 people that the URL has changed. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[general]
 servername = mysplunkurl.co.in
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restart the Splunk service on the indexer(s)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 23:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246004#M6821</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-11-30T23:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246005#M6822</link>
      <description>&lt;P&gt;Hi @srami - Did one of the answers below help provide a solution your question? If yes, please click “Accept” below the best answer to resolve this post. If no, please leave a comment with more feedback. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 02:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246005#M6822</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2016-12-02T02:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246006#M6823</link>
      <description>&lt;P&gt;Did this help solve your problem? If so can you close the question and accept the answer&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 12:35:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246006#M6823</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-12-06T12:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246007#M6824</link>
      <description>&lt;P&gt;Hi @skoelpin,&lt;BR /&gt;
I updated the server name of my indexer as per the instructions you gave. Unfortunately, when I try to connect to this server via Splunk Web, it gave me a 'page not found' error. &lt;BR /&gt;
Here are the steps I followed -&lt;BR /&gt;&lt;BR /&gt;
1. Updated server.conf &lt;BR /&gt;
[general]&lt;BR /&gt;
serverName=mysplunkurl.co.in&lt;BR /&gt;
2. Restart Splunk &lt;BR /&gt;
3. Connect to server via Splunk Web&lt;BR /&gt;
Please let me know if there is any alternatives to this approach? &lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 21:56:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246007#M6824</guid>
      <dc:creator>srami</dc:creator>
      <dc:date>2016-12-08T21:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246008#M6825</link>
      <description>&lt;P&gt;Now that we confirmed that it's resolving to the correct URL, let's move onto hiding the port number. The browser will interpret port 443  and not show it when keying in the URL. So if you want to hide the port number and only have to type in &lt;CODE&gt;mysplunkurl.co.in&lt;/CODE&gt; then you will need to change it from port 8000 to port 443. This can be done by going to &lt;CODE&gt;$SPLUNK_HOME/etc/system/local&lt;/CODE&gt; and adding the following to &lt;CODE&gt;web.conf&lt;/CODE&gt; and restart the Splunk service&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
enableSplunkWebSSL = 0
httpport = 443
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you do not have a &lt;CODE&gt;web.conf&lt;/CODE&gt; then go ahead and make it and add that stanza to it. &lt;/P&gt;

&lt;P&gt;*To anyone else reading this, I worked with @srami in the IRC and we resolved the error associated with changing the URL name&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 22:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246008#M6825</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-12-13T22:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the Splunk Web URL secured by https?</title>
      <link>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246009#M6826</link>
      <description>&lt;P&gt;Hi @srami and @skoelpin ,&lt;BR /&gt;
I tried your second approach.&lt;BR /&gt;
But still after changing the serverName under server.conf, when i restart splunk services, we get&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The Splunk web interface is at &lt;A href="https://hostname.domain.net:443"&gt;https://hostname.domain.net:443&lt;/A&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Ideally it should give &lt;A href="https://splunkurl.co.in"&gt;https://splunkurl.co.in&lt;/A&gt; and this URL should be accessible.&lt;BR /&gt;
i have give the httpport = 443 in web.conf also.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 08:14:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-change-the-Splunk-Web-URL-secured-by-https/m-p/246009#M6826</guid>
      <dc:creator>sarvesh_11</dc:creator>
      <dc:date>2019-12-11T08:14:51Z</dc:date>
    </item>
  </channel>
</rss>

