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 votes
Accepted answer

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 votes

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,511 views 15 20
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