<?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 configure Monitoring of Java Virtual Machines with JMX with SSL/TLS using keytool? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249472#M28507</link>
    <description>&lt;P&gt;Which directory should I store the keystore/truststore for the JMX APP?&lt;/P&gt;

&lt;P&gt;Also when Splunking the java error I receive this notification that I am currently troubleshooting:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;ERROR ExecProcessor&lt;/STRONG&gt; - message from "python "D:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py"" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:  KeyUsage does not allow digital signatures&lt;/P&gt;

&lt;P&gt;With the same settings on my webserver, jconsole connects without error using the same truststore.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Nov 2015 17:13:01 GMT</pubDate>
    <dc:creator>s4tlarson</dc:creator>
    <dc:date>2015-11-03T17:13:01Z</dc:date>
    <item>
      <title>How to configure Monitoring of Java Virtual Machines with JMX with SSL/TLS using keytool?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249468#M28503</link>
      <description>&lt;P&gt;Looking through the options of the config.xml, I see the options to use jmxuser and jmxpass, but nothing about the transport encryption settings. In the jvm.config, I would like to use these arguments:&lt;/P&gt;

&lt;P&gt;-Dcom.sun.management.jmxremote&lt;BR /&gt;
-Dcom.sun.management.jmxremote.port=3333&lt;BR /&gt;
-Dcom.sun.management.jmxremote.ssl=true&lt;BR /&gt;
-Dcom.sun.management.jmxremote.ssl.need.client.auth=true&lt;BR /&gt;
-Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2&lt;BR /&gt;
-Dcom.sun.management.jmxremote.ssl.enabled.cipher.suites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA&lt;BR /&gt;
-Dcom.sun.management.jmxremote.authenticate=true&lt;/P&gt;

&lt;P&gt;Generating an asynchronous key to match the cipher suite has been a chore, then I realized that no option in the config.xml for the APP would utilize these settings. Any advice from your experience to properly setup a secure connection?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249468#M28503</guid>
      <dc:creator>s4tlarson</dc:creator>
      <dc:date>2020-09-29T07:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Monitoring of Java Virtual Machines with JMX with SSL/TLS using keytool?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249469#M28504</link>
      <description>&lt;P&gt;Try following &lt;A href="https://jazz.net/help-dev/clm/index.jsp?re=1&amp;amp;topic=/com.ibm.jazz.repository.web.admin.doc/topics/t_server_mon_tomcat_option3.html&amp;amp;scope=null" target="_blank"&gt;the steps here&lt;/A&gt; for the JConsole client connecting via SSL, which should be the same logic that the JMX App needs.&lt;/P&gt;

&lt;P&gt;Once you have setup your keystore, you can then pass the JVM system arguments using the  "additional_jvm_propertys" parameter&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;additional_jvm_propertys=javax.net.ssl.trustStore=mytruststore,javax.net.ssl.trustStorePassword=somepass
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/60235-screen-shot-2015-09-30-at-22703-pm.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:24:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249469#M28504</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2020-09-29T07:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Monitoring of Java Virtual Machines with JMX with SSL/TLS using keytool?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249470#M28505</link>
      <description>&lt;P&gt;OK I have made some good progress, I am able to monitor the ColdFusion JVM JMX data using jconsole from a remote machine with SSL using these settings on the webserver:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=3333
-Dcom.sun.management.jmxremote.ssl=true
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl.need.client.auth=false
-Djavax.net.ssl.keyStorePassword=password
-Djavax.net.ssl.keyStore=JVMJMX.keystore
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then use these flags on the client:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;gt;jconsole.exe -J-Djavax.net.ssl.trustStore=JVMJMX.truststore -J-Djavax.net.ssl.trustStorePassword=password hostname:3333
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, when I use the same flags in your JMX APP, I still have no connectivity (able to get it to work without SSL easily).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;additional_jvm_propertys = javax.net.ssl.trustStore=%JAVA_HOME%/JVMJMX.truststore,javax.net.ssl.trustStorePassword=password
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The hostname and the port haven't changed in the config.xml and worked when SSL was disabled.&lt;/P&gt;

&lt;P&gt;I am still &lt;STRONG&gt;unable&lt;/STRONG&gt; to use your JMX APP with SSL enabled, something is missing and my webserver is set up properly since I successfully connect using jconsole. Please advise.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 17:02:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249470#M28505</guid>
      <dc:creator>s4tlarson</dc:creator>
      <dc:date>2015-11-02T17:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Monitoring of Java Virtual Machines with JMX with SSL/TLS using keytool?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249471#M28506</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;%JAVA_HOME%
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The JMX App can not do Windows Env Variable expansion , it is not a DOS shell &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 03:05:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249471#M28506</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-11-03T03:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Monitoring of Java Virtual Machines with JMX with SSL/TLS using keytool?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249472#M28507</link>
      <description>&lt;P&gt;Which directory should I store the keystore/truststore for the JMX APP?&lt;/P&gt;

&lt;P&gt;Also when Splunking the java error I receive this notification that I am currently troubleshooting:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;ERROR ExecProcessor&lt;/STRONG&gt; - message from "python "D:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py"" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:  KeyUsage does not allow digital signatures&lt;/P&gt;

&lt;P&gt;With the same settings on my webserver, jconsole connects without error using the same truststore.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 17:13:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249472#M28507</guid>
      <dc:creator>s4tlarson</dc:creator>
      <dc:date>2015-11-03T17:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Monitoring of Java Virtual Machines with JMX with SSL/TLS using keytool?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249473#M28508</link>
      <description>&lt;P&gt;I believe you can use any directory on your filesystem for the keystore/truststore files.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 17:23:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-Monitoring-of-Java-Virtual-Machines-with-JMX/m-p/249473#M28508</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-11-03T17:23:45Z</dc:date>
    </item>
  </channel>
</rss>

