<?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 Whay am I getting a Handshake_failure  with JavaSDK when the scheme is TLS? in Security</title>
    <link>https://community.splunk.com/t5/Security/Whay-am-I-getting-a-Handshake-failure-with-JavaSDK-when-the/m-p/176900#M5254</link>
    <description>&lt;P&gt;I have a java application that uses SplunkSDK to connect to the splunk server over https. Recently the SSL was changed to TLS and since them I get the following exception&lt;BR /&gt;
java.lang.RuntimeException: Received fatal alert: handshake_failure&lt;BR /&gt;
        at com.splunk.HttpService.send(HttpService.java:345)&lt;BR /&gt;
        at com.splunk.Service.send(Service.java:1268)&lt;BR /&gt;
        at com.splunk.HttpService.post(HttpService.java:243)&lt;BR /&gt;
        at com.splunk.Service.login(Service.java:1099)&lt;/P&gt;

&lt;P&gt;Following is how I login to Splunk. What should the loginArgs.setScheme be set to now that we are using TLS? I couldn't find any documentation with Valid scheme names. &lt;BR /&gt;
ServiceArgs loginArgs = new ServiceArgs();&lt;BR /&gt;
    loginArgs.setUsername(userName);&lt;BR /&gt;
    loginArgs.setPassword(passWord);&lt;BR /&gt;
    loginArgs.setHost(host);&lt;BR /&gt;
    loginArgs.setPort(Integer.parseInt(portNumber));&lt;BR /&gt;
    loginArgs.setScheme("https");&lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2015 19:09:59 GMT</pubDate>
    <dc:creator>ssubbiah001</dc:creator>
    <dc:date>2015-03-13T19:09:59Z</dc:date>
    <item>
      <title>Whay am I getting a Handshake_failure  with JavaSDK when the scheme is TLS?</title>
      <link>https://community.splunk.com/t5/Security/Whay-am-I-getting-a-Handshake-failure-with-JavaSDK-when-the/m-p/176900#M5254</link>
      <description>&lt;P&gt;I have a java application that uses SplunkSDK to connect to the splunk server over https. Recently the SSL was changed to TLS and since them I get the following exception&lt;BR /&gt;
java.lang.RuntimeException: Received fatal alert: handshake_failure&lt;BR /&gt;
        at com.splunk.HttpService.send(HttpService.java:345)&lt;BR /&gt;
        at com.splunk.Service.send(Service.java:1268)&lt;BR /&gt;
        at com.splunk.HttpService.post(HttpService.java:243)&lt;BR /&gt;
        at com.splunk.Service.login(Service.java:1099)&lt;/P&gt;

&lt;P&gt;Following is how I login to Splunk. What should the loginArgs.setScheme be set to now that we are using TLS? I couldn't find any documentation with Valid scheme names. &lt;BR /&gt;
ServiceArgs loginArgs = new ServiceArgs();&lt;BR /&gt;
    loginArgs.setUsername(userName);&lt;BR /&gt;
    loginArgs.setPassword(passWord);&lt;BR /&gt;
    loginArgs.setHost(host);&lt;BR /&gt;
    loginArgs.setPort(Integer.parseInt(portNumber));&lt;BR /&gt;
    loginArgs.setScheme("https");&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 19:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Whay-am-I-getting-a-Handshake-failure-with-JavaSDK-when-the/m-p/176900#M5254</guid>
      <dc:creator>ssubbiah001</dc:creator>
      <dc:date>2015-03-13T19:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Whay am I getting a Handshake_failure  with JavaSDK when the scheme is TLS?</title>
      <link>https://community.splunk.com/t5/Security/Whay-am-I-getting-a-Handshake-failure-with-JavaSDK-when-the/m-p/176901#M5255</link>
      <description>&lt;P&gt;I was able to fix my errors by updating the splunk jar file to use TLS protocol. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/210201/i-changed-splunk-from-using-sslv3-to-tlsv12-and-th.html"&gt;http://answers.splunk.com/answers/210201/i-changed-splunk-from-using-sslv3-to-tlsv12-and-th.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 22:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Whay-am-I-getting-a-Handshake-failure-with-JavaSDK-when-the/m-p/176901#M5255</guid>
      <dc:creator>ssubbiah001</dc:creator>
      <dc:date>2015-03-13T22:46:34Z</dc:date>
    </item>
  </channel>
</rss>

