Import from Redmine ( error

I'm trying to import my projects from Redmine instance using Redmine Importers Plugin for JIM and I receive "Cannot login to Redmine site: javax/security/auth/x500/X500Principal" error.

Chrome says everything is fine with certificate.

Jira version is "v5.2.8#851-sha1:3262fdc"

plugin version is "1.0.9"

Redmine version is "Redmine 1.4.7.planio"

Any ideas how to import issues from to Jira?

3 answers

1 accepted

0 vote

Hi Pawel,

This behavior turned out to be a bug in the Redmine importer.

The real problem was that java.lang.NoClassDefFoundError ('javax/security/auth/x500/X500Principal') was thrown. Unfortunately it was suppressed by eager error handling. Sorry for that.

The root cause we were not importing 'javax.*' in Redmine OSGi bundle that prevented this class from loading.

Please checkout new version (1.0.10) of the importer from marketplace that has this issue fixed.

thank you :) Problem solved.

Hi Pavel,

This error often occurs due incorrect SSL configuration between JIRA and Redmine. Have you imported the Redmine SSL certificate into JIRA? You can do it according described here:


After that, add the following parameter to the JIRA startup options:"changeit"

You can also temporarily disable the HTTPS support in Redmine for importing in JIRA.

Best regards,
Lucas Timm

Hi Lucas,

I imported * certificate to my keystore via

sudo /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/keytool -import -alias tomcatCACert -file ~/planio.cert -keystore "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/security/cacerts

It was imported successfully. Then I ran jira script ./ with options you provided with path to keystore, but the error is still there. Unfortunately I can't switch off https because is a service and I don't have access to their nginx configuration.

0 vote

Hi Pavel,

I have small tool that can help you solve your problem.

This program basically connects to provided URL and if anything is wrong with certification path it writes which certificates are not contained in your keystore.

To run it use 'java -Djava.home='JAVA_HOME' -jar SSLTester.jar [HOST_URL]

Hopes this helps,

Adam Jakubowski

Hi Adam. I just tried your tool and it shows me everything is OK, but the error is still there.

Loading KeyStore /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/security/cacerts...
Opening connection to
Starting SSL handshake...

No errors, certificate is already trusted

Server sent 4 certificate(s):

 1 Subject CN=*, OU=Domain Control Validated, O=*

 2 Subject ...

 3 Subject ...

 4 Subject ...

Connection to '' is valid

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

91 views 0 1
Join discussion

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