Access Trac with certificate login from Eclipse using Mylyn's Trac connector

Just a quick scratch about how to access your Trac from Eclipse IDE by authenticating with certificates

1. Make sure the root certificate is found by JVM as a trusted certificate if you have your own.
Open this link and check the subject: "When I try to add my site to the task repositories, I get a Java error that says SSL Handshake failed. What do I do?"

2. Add the following lines to eclipse.ini

-Djavax.net.ssl.keyStore=/path/to/yourcert.p12
-Djavax.net.ssl.keyStorePassword=yourpassword
-Djavax.net.ssl.keyStoreType=PKCS12

3. Setup Eclipse Mylyn plugin with the Trac connector.

  • Install Mylyn plugin
  • Add your Trac to the Task Repository view
    • Remember to use anonymous authentication, since you're using certs to login

This is just quickly thrown together, please ask if I neglected some important details. I can try to fill in the gaps later on if necessary.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options