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

This widget could not be displayed.

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


This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

733 views 0 3
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