Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Problem accessing https secured issue-system (redmine) with mylyn
Problem accessing https secured issue-system (redmine) with mylyn [message #598126] Tue, 14 July 2009 15:44
Edaurd Bauer is currently offline Edaurd Bauer
Messages: 9
Registered: July 2010
Junior Member
Hey out there,

i am having some trouble with accessing a redmine-repositry via mylyn
(web based access). This web site is secured with the help of a
self-signed certificate, which enables me to use https instead of http.

For this, I have added the certificate to a keystore file. I have
adjusted/added the properties (eclipse.ini) in the following way:

-Djavax.net.ssl.keyStore="/home/edebauer/.keystore"
-Djavax.net.ssl.keyStorePassword="changeit"

These two arguments are added automatically (since they are defined in
the eclipse.ini) to the virtual machine that runs eclipse.

Now, as soon as I try to access the repositry, an additional entry
arises in the Error-view. The stated file (in the following stack trace)
is really at the given position. Thus it should not produce a
FileNotFoundException:

Name: Could not initialize keystore
Stack-Trace:
java.io.FileNotFoundException: "/home/edebauer/.keystore" (No such file
or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
org.eclipse.mylyn.internal.commons.net.SslProtocolSocketFact ory. <init>(SslProtocolSocketFactory.java:66)
at
org.eclipse.mylyn.internal.commons.net.SslProtocolSocketFact ory. <clinit>(SslProtocolSocketFactory.java:49)
at
org.eclipse.mylyn.internal.commons.net.PollingSslProtocolSoc ketFactory. <init>(PollingSslProtocolSocketFactory.java:37)
at
org.eclipse.mylyn.commons.net.WebUtil.createHostConfiguratio n(WebUtil.java:255)
at
org.eclipse.mylyn.internal.web.tasks.WebRepositoryConnector. fetchResource(WebRepositoryConnector.java:473)
at
org.eclipse.mylyn.internal.web.tasks.WebRepositoryConnector. performQuery(WebRepositoryConnector.java:262)
at
org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQuerie sJob.synchronizeQuery(SynchronizeQueriesJob.java:290)
at
org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQuerie sJob.synchronizeQueries(SynchronizeQueriesJob.java:247)
at
org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQuerie sJob.run(SynchronizeQueriesJob.java:184)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Besides an error-dialog is shown containing the information:
"Could not fetch resource:
https://myserver/redmine/wiki/myproject/issues
java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: Default, provider: SunJSSE, class:
com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)

I am running ubuntu, with eclipse galileo.

Thanks to everybody that can give me any hints or tries to help me :).

Kind regards
Ede
Previous Topic:activated tasks
Next Topic:Code-Review plugin?
Goto Forum:
  


Current Time: Fri Oct 31 04:15:22 GMT 2014

Powered by FUDForum. Page generated in 0.06814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software