ignore ssl certificate?

trying to get Nagios/Check_mk to monitor the JIRA Tomcat process and running into some hurdles...

Anyway, is there a way to have the jolokia plugin ignore the installed SSL certificate on 443?

@jira.lab:/etc/check_mk$ curl https://localhost:443/jira/plugins/servlet/jolokia/list/
curl: (51) SSL: certificate subject name 'www.company.com' does not match target host name 'localhost'

# meanwhile this is fine:
@jira.lab:/etc/check_mk$ curl -k https://localhost:443/jira/plugins/servlet/jolokia/list/

2 answers

0 votes

Hi Jason, 

Based on the error message, this looks like your certificate is for 'www.company.com'. However, the server hostname is answering for localhost. Use the real hostname in the url should fix this issue or add an entry in your hosts file to your server answer for company.com instead of only localhost.


Another thing, since you are running https on port 443, you don't need to type this in your URL. 



Renato Rudnicki


hi yes because www.company.com is in DNS as something different than

I would like to edit jolokia-access.xml to allow the IP in DNS but the file does not exist (I'd rather not manage hosts file entries)? I don't have the menus in JIRA (as Administrator) that are mentioned on the plugin page.

furthermore, this jolokia plugin does not seem to be compatible with nagios/check_mk's implementation of jolokia - the check_mk agent will not pull from the URL although curl does. jmx4perl is deprecated in favor of jolokia so this is what I would like to use for monitoring. I'm also unable to hook in jolokia's own jar file, it doesn't seem to consider JIRA Tomcat to be a valid tomcat/java process even though it says all you need is java 1_6+

has anyone been successful hooking this into check_mk? I know it is probably a long shot.

thanks again and kind regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,701 views 3 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you