Fixing Eclipse Mylar jira integration

Be aware that when adding new jira source to Mylar with HTTPS protocol then you MIGHT get error saying host not found or wrong username&password.

The reason for this could be missing certificate in your trusted keystore.

Here’s how to fix it:

  1. Run: openssl s_client -connect your.secured.host.com:https
  2. Copy-paste certificate from previous output to text-file (for example /tmp/key2trust.pem).
    Be sure to include BEGIN and END CERTIFICATE rows!!
  3. Run: keytool -import -alias your.secured.host.com -keystore
    /home/ahtik/.eclipsekeystore -file /tmp/key2trust.pem
  4. Edit eclipse.ini in eclipse home dir to have -Djavax.net.ssl.trustStore=/home/ahtik/.eclipsekeystore
  5. Start Eclipse and be sure to run with Java 5!
  6. Let me now if it didn’t help.

One Comment

  1. I am running Eclipse 3.2 on Windows XP with Java 1.5.0_06
    I could not run step 1(opelssl), getting error

    I followed all other steps, and now am getting different error as under:

    Unable to fetch resource: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors

    Please, advice,

    Thanks,
    -Dipak

    Dipak
    Posted January 9, 2007 at 3:09 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Anti-Spam Protection by WP-SpamFree