Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira JMX Monitoring with Solarwinds over Secure Connection

Emanuel Jianu June 29, 2021

Greetings all,

Any idea on how to accomplish Jira JMX remote monitoring with Solarwinds over a secure connection? We run Jira on RHEL and use AdoptOpenJDK. 

Running with the following added to setenv.sh.

CATALINA_OPTS="-Dcom.sun.management.jmxremote=true ${CATALINA_OPTS}"
CATALINA_OPTS="-Djava.security.auth.login.config=/some/path/ldap.config ${CATALINA_OPTS}"
CATALINA_OPTS="-Djava.rmi.server.hostname=xx.xx.xx.xx ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.sun.management.jmxremote.login.config=JAASConfig ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=8090 ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.sun.management.jmxremote.rmi.port=8090 ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.sun.management.jmxremote.ssl.need.client.auth=true ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.sun.management.jmxremote.registry.ssl=true ${CATALINA_OPTS}"
CATALINA_OPTS="-Dcom.sun.management.jmxremote.ssl=true ${CATALINA_OPTS}"
CATALINA_OPTS="-Djavax.net.ssl.trustStore=/some/path/cacerts ${CATALINA_OPTS}"
CATALINA_OPTS="-Djavax.net.ssl.trustStorePassword=**** ${CATALINA_OPTS}"

 

File ldap.config looks like below.

 

JAASConfig {
com.sun.security.auth.module.LdapLoginModule REQUIRED
userProvider="ldap://some.ldap.com:389/ou=User Accounts,DC=xx,DC=xx,DC=com"
userFilter="(&(objectCategory=Person)(sAMAccountName=*))"
authzIdentity=monitorRole;
};

 

Tried jconsole between RHEL machines and remote connection fails, both secure and insecure.

What am I missing? Any certificates I need to import?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events