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 #70644] Tue, 14 July 2009 15:44 Go to next message
Eclipse UserFriend
Originally posted by: edebauer.mail.upb.de

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
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70660 is a reply to message #70644] Tue, 14 July 2009 16:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: seltmann.googlemail.com

Eduard Bauer schrieb:
> Hey out there,
Hi

>
> 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
is it really there? what says
#$ ls -la /home/edebauer/.keystore

are the rights ok? the owner of the eclipse process needs at least read
permissions to the file /home/edebauer/.keystore AND at least execute
permissions to the directory /home/edebauer/

did you use the right keytool?
#$ sudo update-alternatives --config java
shows the used java runtime environment for eclipse (if not defined
other elsewhere)
#$ sudo update-alternatives --config keytool
shows the keytool you used for creating your keystore-file

By the way, i think eclipse doesnt need to know your keystore-password.
AFAIK its only needed to put things in the keystore.

ciao

Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70676 is a reply to message #70660] Tue, 14 July 2009 16:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edebauer.mail.upb.de

Hey,

answers intersected.

Ulf Seltmann wrote:
> Eduard Bauer schrieb:
> > Hey out there,
> Hi
>
> >
> > 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
> is it really there? what says
> #$ ls -la /home/edebauer/.keystore

-rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
/home/edebauer/.keystore

>
> are the rights ok? the owner of the eclipse process needs at least read
> permissions to the file /home/edebauer/.keystore AND at least execute
> permissions to the directory /home/edebauer/

It does not seem to depend on the permissions. I can give everybody any
permission. I have tried to start eclipse either as root, or from my
account. But always the same "FileNotFoundException".

>
> did you use the right keytool?
> #$ sudo update-alternatives --config java
> shows the used java runtime environment for eclipse (if not defined
> other elsewhere)

The above command delivers the result:

There is only 1 program which provides java
(/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. I am
pretty sure that this java virtual machine is used by eclipse. I do not
have any other installed.



> #$ sudo update-alternatives --config keytool
> shows the keytool you used for creating your keystore-file

The command returns the following result

There is only 1 program which provides keytool
(/usr/lib/jvm/java-6-sun/jre/bin/keytool). Nothing to configure.

This was the keytool i have used to add the particular certificates to
the keystore. Whenever i run
#$ keytool -keystore .keystore -v -list
in my home directory, the certificate is shown to be within the
according keystore

>
> By the way, i think eclipse doesnt need to know your keystore-password.
> AFAIK its only needed to put things in the keystore.

Well, I have found out something really interesting. Whenever i remove
the line containing the password, the "FileNotFoundException" does not
occur anymore. But the other problem (the dialogbox) remains, whenever i
try to synchronize my repository.

Here the Problem again:
"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)


>
> ciao
>
> Ulf
Kind regards
Ede
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70716 is a reply to message #70676] Wed, 15 July 2009 07:08 Go to previous messageGo to next message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
Hi Ede,

just some thoughts: Where did the keystore file come from? Did you copy it from your .eclipse
directory or anywhere else?

How about these steps:

1. Start without the keystore properties
2. Save some passwords etc
3. Search for the keystore file
4. Copy it to the given location
5. Start using the keystore properties

We currently just using the keyring directory:

-keyring /export/home/joerg/.eclipse-keyring/.keyring \

Maybe you put the keystore into a separate sub-directory in your $HOME?

Cheers, Jörg

On 07/14/09 18:22, Eduard Bauer wrote:
> Hey,
>
> answers intersected.
>
> Ulf Seltmann wrote:
>> Eduard Bauer schrieb:
>> > Hey out there,
>> Hi
>>
>> >
>> > 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
>> is it really there? what says
>> #$ ls -la /home/edebauer/.keystore
>
> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
> /home/edebauer/.keystore
>
>>
>> are the rights ok? the owner of the eclipse process needs at least
>> read permissions to the file /home/edebauer/.keystore AND at least
>> execute permissions to the directory /home/edebauer/
>
> It does not seem to depend on the permissions. I can give everybody any
> permission. I have tried to start eclipse either as root, or from my
> account. But always the same "FileNotFoundException".
>
>>
>> did you use the right keytool?
>> #$ sudo update-alternatives --config java
>> shows the used java runtime environment for eclipse (if not defined
>> other elsewhere)
>
> The above command delivers the result:
>
> There is only 1 program which provides java
> (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. I am
> pretty sure that this java virtual machine is used by eclipse. I do not
> have any other installed.
>
>
>
>> #$ sudo update-alternatives --config keytool
>> shows the keytool you used for creating your keystore-file
>
> The command returns the following result
>
> There is only 1 program which provides keytool
> (/usr/lib/jvm/java-6-sun/jre/bin/keytool). Nothing to configure.
>
> This was the keytool i have used to add the particular certificates to
> the keystore. Whenever i run
> #$ keytool -keystore .keystore -v -list
> in my home directory, the certificate is shown to be within the
> according keystore
>
>>
>> By the way, i think eclipse doesnt need to know your
>> keystore-password. AFAIK its only needed to put things in the keystore.
>
> Well, I have found out something really interesting. Whenever i remove
> the line containing the password, the "FileNotFoundException" does not
> occur anymore. But the other problem (the dialogbox) remains, whenever i
> try to synchronize my repository.
>
> Here the Problem again:
> "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)
>
>
>>
>> ciao
>>
>> Ulf
> Kind regards
> Ede
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70751 is a reply to message #70716] Wed, 15 July 2009 07:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edebauer.mail.upb.de

Hey Jörg,

thanks for your effort. Answers intersected

Jörg Thönnes wrote:
> Hi Ede,
>
> just some thoughts: Where did the keystore file come from? Did you copy
> it from your .eclipse directory or anywhere else?

To my knowledge, every linux system has two keystore files deliverd with
Java: One called "cacers" in the jre/lib/security directory, and the
other one called ".keystore" within the users home directory. Usually,
these two files should be discovered automatically. Unfortunatelly, this
was not the case. So I added the lines to the eclipse.ini.

The .keystore contains the certificate needed to access the https side.
I have created this entry with keytool. I think this entry is correct,
since the command "keytool -keystore .keystore -v -list" shows the
according certificate:

Owner: EMAILADDRESS=thobie@upb.de, CN=fg-cn-dev1.cs.uni-paderborn.de,
OU=EIM-I FG Rechnernetze, O=University of Paderborn, L=Paderborn,
ST=NRW, C=DE
Issuer: EMAILADDRESS=thobie@upb.de, CN=fg-cn-dev1.cs.uni-paderborn.de,
OU=EIM-I FG Rechnernetze, O=University of Paderborn, L=Paderborn,
ST=NRW, C=DE
Serial number: 9dc604b4a65112e7
Valid from: Fri Mar 13 12:57:00 CET 2009 until: Wed Mar 12 12:57:00 CET 2014
Certificate fingerprints:
MD5: 60:05:7B:15:6F:B8:05:2F:24:6F:9B:A4:C0:B8:7A:F6
SHA1: 17:8C:77:31:C2:3E:A2:5C:AB:C9:48:25:F1:5C:A5:D4:A2:51:6C:AD
Signature algorithm name: SHA1withRSA
Version: 1

By the way, my .eclipse folder does not contain a keystore file.
Whenever I start without a given keystore file, no error is shown, when
trying to synchronize the task-repository, but as well, no tasks are
shown. I was wondering why no error is shown in this case.


>
> How about these steps:
>
> 1. Start without the keystore properties
> 2. Save some passwords etc
> 3. Search for the keystore file
> 4. Copy it to the given location
> 5. Start using the keystore properties

Actually, I havent found out, how to perform these steps. Can anybody
give me a hint, where I have to enter a password that would be stored in
a eclipse-separate keystore file? (btw. is this the same kind of file
like in the case of the java keystore files?)

>
> We currently just using the keyring directory:
>
> -keyring /export/home/joerg/.eclipse-keyring/.keyring \
>
> Maybe you put the keystore into a separate sub-directory in your $HOME?

Tried did unfortunatelly not work :(.

>
> Cheers, Jörg
>
> On 07/14/09 18:22, Eduard Bauer wrote:
>> Hey,
>>
>> answers intersected.
>>
>> Ulf Seltmann wrote:
>>> Eduard Bauer schrieb:
>>> > Hey out there,
>>> Hi
>>>
>>> >
>>> > 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
>>> is it really there? what says
>>> #$ ls -la /home/edebauer/.keystore
>>
>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>> /home/edebauer/.keystore
>>
>>>
>>> are the rights ok? the owner of the eclipse process needs at least
>>> read permissions to the file /home/edebauer/.keystore AND at least
>>> execute permissions to the directory /home/edebauer/
>>
>> It does not seem to depend on the permissions. I can give everybody
>> any permission. I have tried to start eclipse either as root, or from
>> my account. But always the same "FileNotFoundException".
>>
>>>
>>> did you use the right keytool?
>>> #$ sudo update-alternatives --config java
>>> shows the used java runtime environment for eclipse (if not defined
>>> other elsewhere)
>>
>> The above command delivers the result:
>>
>> There is only 1 program which provides java
>> (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. I am
>> pretty sure that this java virtual machine is used by eclipse. I do
>> not have any other installed.
>>
>>
>>
>>> #$ sudo update-alternatives --config keytool
>>> shows the keytool you used for creating your keystore-file
>>
>> The command returns the following result
>>
>> There is only 1 program which provides keytool
>> (/usr/lib/jvm/java-6-sun/jre/bin/keytool). Nothing to configure.
>>
>> This was the keytool i have used to add the particular certificates to
>> the keystore. Whenever i run
>> #$ keytool -keystore .keystore -v -list
>> in my home directory, the certificate is shown to be within the
>> according keystore
>>
>>>
>>> By the way, i think eclipse doesnt need to know your
>>> keystore-password. AFAIK its only needed to put things in the keystore.
>>
>> Well, I have found out something really interesting. Whenever i remove
>> the line containing the password, the "FileNotFoundException" does not
>> occur anymore. But the other problem (the dialogbox) remains, whenever
>> i try to synchronize my repository.
>>
>> Here the Problem again:
>> "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)
>>
>>
>>>
>>> ciao
>>>
>>> Ulf
>> Kind regards
>> Ede

Kind regards
Ede
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70768 is a reply to message #70676] Wed, 15 July 2009 09:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: seltmann.googlemail.com

Eduard Bauer schrieb:
>> #$ ls -la /home/edebauer/.keystore
>
> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
> /home/edebauer/.keystore
....
> It does not seem to depend on the permissions. I can give everybody any
> permission. I have tried to start eclipse either as root, or from my
> account. But always the same "FileNotFoundException".
i would restrict the rights to 600. too much rights could be the problem
too. at least for ssh keybased auth i know that it complains about and
refuses to use the wideopened private-key.
give it a try.

....
> Here the Problem again:
> "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)
hmm. sounds like java is missing something... i have no experiences with
sun-java. maybe you can give openjdk6 a try (ubuntu has packages i think)

alternative you can try to append your ssl-certificate to the standard
keystore (i think you found it already). standard-password for the
keystore is "changeit" at least for debian.

how do you retrieve the error-messages? do you query the .metadata/log
file? another way is to start eclipse at the commandprompt. giving
eclipse an standard-input could change a lot. i sometimes could discover
new informations starting this way.

ciao

Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70773 is a reply to message #70768] Wed, 15 July 2009 09:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edebauer.mail.upb.de

hey Ulf,

answers intersected.

Ulf Seltmann wrote:
> Eduard Bauer schrieb:
>>> #$ ls -la /home/edebauer/.keystore
>>
>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>> /home/edebauer/.keystore
> ...
>> It does not seem to depend on the permissions. I can give everybody
>> any permission. I have tried to start eclipse either as root, or from
>> my account. But always the same "FileNotFoundException".
> i would restrict the rights to 600. too much rights could be the problem
> too. at least for ssh keybased auth i know that it complains about and
> refuses to use the wideopened private-key.
> give it a try.
>

I have tried nearly any permission :). But nothing works.

> ...
>> Here the Problem again:
>> "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)
> hmm. sounds like java is missing something... i have no experiences with
> sun-java. maybe you can give openjdk6 a try (ubuntu has packages i think)
>
> alternative you can try to append your ssl-certificate to the standard
> keystore (i think you found it already). standard-password for the
> keystore is "changeit" at least for debian.

Already tried that, as well. This file is called cacerts, and situated
under "jre/lib/security". But this did not work either. I have added
only this keystore with -D option to eclipse.ini, but it does not work
as well.

>
> how do you retrieve the error-messages? do you query the .metadata/log
> file? another way is to start eclipse at the commandprompt. giving
> eclipse an standard-input could change a lot. i sometimes could discover
> new informations starting this way.

the error message i have described is a dialog box showing that error.
The other error message concerning the "FileNotFoundException" was
situated within the .metadata/log. But this file always contains the
same errors as the Error View, found within Eclipse.

What do you mean by "at the commandprompt". I have started it via
terminal, but this did not deliver additional pieces of information.

I am currently not willing to try out openjdk6, since I am afraid, it
would change some properties of mine. I will try a little bit longer to
solve the problem with suns sdk. The openjdk-solution would be my last
effort :).

>
> ciao
>
> Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70787 is a reply to message #70773] Wed, 15 July 2009 13:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edebauer.mail.upb.de

Hey out there,

I have solved the problem by the following configuration of the eclipse.ini:

-Djavax.net.ssl.trustStore=/path_to_trust_store/cacerts
-Djavax.net.ssl.trustStorePassword=changeit
-Djavax.net.ssl.trustStoreType=JKS

It is important NOT to use ", and to call that store trustStore. The
certificate can be easily added with the help of keytool. The according
trust store is situated under "/path_to_trust_store" in my case.

Nevertheless, thanks everybody for his or her effort :).

Kind regards
Ede


Eduard Bauer wrote:
> hey Ulf,
>
> answers intersected.
>
> Ulf Seltmann wrote:
>> Eduard Bauer schrieb:
>>>> #$ ls -la /home/edebauer/.keystore
>>>
>>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>>> /home/edebauer/.keystore
>> ...
>>> It does not seem to depend on the permissions. I can give everybody
>>> any permission. I have tried to start eclipse either as root, or from
>>> my account. But always the same "FileNotFoundException".
>> i would restrict the rights to 600. too much rights could be the
>> problem too. at least for ssh keybased auth i know that it complains
>> about and refuses to use the wideopened private-key.
>> give it a try.
>>
>
> I have tried nearly any permission :). But nothing works.
>
>> ...
>>> Here the Problem again:
>>> "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)
>> hmm. sounds like java is missing something... i have no experiences
>> with sun-java. maybe you can give openjdk6 a try (ubuntu has packages
>> i think)
>>
>> alternative you can try to append your ssl-certificate to the standard
>> keystore (i think you found it already). standard-password for the
>> keystore is "changeit" at least for debian.
>
> Already tried that, as well. This file is called cacerts, and situated
> under "jre/lib/security". But this did not work either. I have added
> only this keystore with -D option to eclipse.ini, but it does not work
> as well.
>
>>
>> how do you retrieve the error-messages? do you query the .metadata/log
>> file? another way is to start eclipse at the commandprompt. giving
>> eclipse an standard-input could change a lot. i sometimes could
>> discover new informations starting this way.
>
> the error message i have described is a dialog box showing that error.
> The other error message concerning the "FileNotFoundException" was
> situated within the .metadata/log. But this file always contains the
> same errors as the Error View, found within Eclipse.
>
> What do you mean by "at the commandprompt". I have started it via
> terminal, but this did not deliver additional pieces of information.
>
> I am currently not willing to try out openjdk6, since I am afraid, it
> would change some properties of mine. I will try a little bit longer to
> solve the problem with suns sdk. The openjdk-solution would be my last
> effort :).
>
>>
>> ciao
>>
>> Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70794 is a reply to message #70773] Wed, 15 July 2009 14:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: seltmann.googlemail.com

Hi Eduard

Eduard Bauer schrieb:
> Already tried that, as well. This file is called cacerts, and situated
> under "jre/lib/security". But this did not work either. I have added
> only this keystore with -D option to eclipse.ini, but it does not work
> as well.
I didn't need to do that. The standard keystore is always included. In
fact my eclipse.ini is standard (eclipse 2.5, mylyn 3.2.0).

I don't know whats the problem on your system. by now i can only
describe what i did to achieve this:

1. get the root-certificate or the server-certificate
2. add the certificate to keystore (in debian with openjdk)
#$ keytool -keystore /etc/ssl/certs/java/cacerts -import -file \
/path/to/cert.pem -alias <my-own-certificate>
3. answer the question of adding the certificate with 'yes'
4. start eclipse

> What do you mean by "at the commandprompt".
yes, terminal. not by menu-entry :)

as i had a problem with native javahl for subversion eclipse prompted me
for a password in the terminal. without starting in terminal i got
"connection refused" without any further error message.

good luck,

Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #70830 is a reply to message #70787] Thu, 16 July 2009 00:13 Go to previous message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 505
Registered: July 2009
Senior Member
Eduard,

It would be great if you could add a note about this issue to one of
the wiki pages:

http://wiki.eclipse.org/Mylyn_User_Guide#Generic_Web_Templat es_Connector
http://wiki.eclipse.org/Mylyn_FAQ#Web_Templates_Connector

Thanks

Eugene


Eduard Bauer wrote:
> Hey out there,
>
> I have solved the problem by the following configuration of the
> eclipse.ini:
>
> -Djavax.net.ssl.trustStore=/path_to_trust_store/cacerts
> -Djavax.net.ssl.trustStorePassword=changeit
> -Djavax.net.ssl.trustStoreType=JKS
>
> It is important NOT to use ", and to call that store trustStore. The
> certificate can be easily added with the help of keytool. The
> according trust store is situated under "/path_to_trust_store" in my
> case.
>
> Nevertheless, thanks everybody for his or her effort :).
>
> Kind regards
> Ede
>
>
> Eduard Bauer wrote:
>> hey Ulf,
>>
>> answers intersected.
>>
>> Ulf Seltmann wrote:
>>> Eduard Bauer schrieb:
>>>>> #$ ls -la /home/edebauer/.keystore
>>>>
>>>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>>>> /home/edebauer/.keystore
>>> ...
>>>> It does not seem to depend on the permissions. I can give everybody
>>>> any permission. I have tried to start eclipse either as root, or
>>>> from my account. But always the same "FileNotFoundException".
>>> i would restrict the rights to 600. too much rights could be the
>>> problem too. at least for ssh keybased auth i know that it complains
>>> about and refuses to use the wideopened private-key.
>>> give it a try.
>>>
>>
>> I have tried nearly any permission :). But nothing works.
>>
>>> ...
>>>> Here the Problem again:
>>>> "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)
>>> hmm. sounds like java is missing something... i have no experiences
>>> with sun-java. maybe you can give openjdk6 a try (ubuntu has
>>> packages i think)
>>>
>>> alternative you can try to append your ssl-certificate to the
>>> standard keystore (i think you found it already). standard-password
>>> for the keystore is "changeit" at least for debian.
>>
>> Already tried that, as well. This file is called cacerts, and
>> situated under "jre/lib/security". But this did not work either. I
>> have added only this keystore with -D option to eclipse.ini, but it
>> does not work as well.
>>
>>>
>>> how do you retrieve the error-messages? do you query the
>>> .metadata/log file? another way is to start eclipse at the
>>> commandprompt. giving eclipse an standard-input could change a lot.
>>> i sometimes could discover new informations starting this way.
>>
>> the error message i have described is a dialog box showing that
>> error. The other error message concerning the "FileNotFoundException"
>> was situated within the .metadata/log. But this file always contains
>> the same errors as the Error View, found within Eclipse.
>>
>> What do you mean by "at the commandprompt". I have started it via
>> terminal, but this did not deliver additional pieces of information.
>>
>> I am currently not willing to try out openjdk6, since I am afraid, it
>> would change some properties of mine. I will try a little bit longer
>> to solve the problem with suns sdk. The openjdk-solution would be my
>> last effort :).
>>
>>>
>>> ciao
>>>
>>> Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598136 is a reply to message #70644] Tue, 14 July 2009 16:07 Go to previous message
Ulf Seltmann is currently offline Ulf SeltmannFriend
Messages: 11
Registered: July 2009
Junior Member
Eduard Bauer schrieb:
> Hey out there,
Hi

>
> 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
is it really there? what says
#$ ls -la /home/edebauer/.keystore

are the rights ok? the owner of the eclipse process needs at least read
permissions to the file /home/edebauer/.keystore AND at least execute
permissions to the directory /home/edebauer/

did you use the right keytool?
#$ sudo update-alternatives --config java
shows the used java runtime environment for eclipse (if not defined
other elsewhere)
#$ sudo update-alternatives --config keytool
shows the keytool you used for creating your keystore-file

By the way, i think eclipse doesnt need to know your keystore-password.
AFAIK its only needed to put things in the keystore.

ciao

Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598142 is a reply to message #70660] Tue, 14 July 2009 16:22 Go to previous message
Edaurd Bauer is currently offline Edaurd BauerFriend
Messages: 9
Registered: July 2010
Junior Member
Hey,

answers intersected.

Ulf Seltmann wrote:
> Eduard Bauer schrieb:
> > Hey out there,
> Hi
>
> >
> > 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
> is it really there? what says
> #$ ls -la /home/edebauer/.keystore

-rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
/home/edebauer/.keystore

>
> are the rights ok? the owner of the eclipse process needs at least read
> permissions to the file /home/edebauer/.keystore AND at least execute
> permissions to the directory /home/edebauer/

It does not seem to depend on the permissions. I can give everybody any
permission. I have tried to start eclipse either as root, or from my
account. But always the same "FileNotFoundException".

>
> did you use the right keytool?
> #$ sudo update-alternatives --config java
> shows the used java runtime environment for eclipse (if not defined
> other elsewhere)

The above command delivers the result:

There is only 1 program which provides java
(/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. I am
pretty sure that this java virtual machine is used by eclipse. I do not
have any other installed.



> #$ sudo update-alternatives --config keytool
> shows the keytool you used for creating your keystore-file

The command returns the following result

There is only 1 program which provides keytool
(/usr/lib/jvm/java-6-sun/jre/bin/keytool). Nothing to configure.

This was the keytool i have used to add the particular certificates to
the keystore. Whenever i run
#$ keytool -keystore .keystore -v -list
in my home directory, the certificate is shown to be within the
according keystore

>
> By the way, i think eclipse doesnt need to know your keystore-password.
> AFAIK its only needed to put things in the keystore.

Well, I have found out something really interesting. Whenever i remove
the line containing the password, the "FileNotFoundException" does not
occur anymore. But the other problem (the dialogbox) remains, whenever i
try to synchronize my repository.

Here the Problem again:
"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)


>
> ciao
>
> Ulf
Kind regards
Ede
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598155 is a reply to message #70676] Wed, 15 July 2009 07:08 Go to previous message
Jörg Thönnes is currently offline Jörg ThönnesFriend
Messages: 229
Registered: July 2009
Senior Member
Hi Ede,

just some thoughts: Where did the keystore file come from? Did you copy it from your .eclipse
directory or anywhere else?

How about these steps:

1. Start without the keystore properties
2. Save some passwords etc
3. Search for the keystore file
4. Copy it to the given location
5. Start using the keystore properties

We currently just using the keyring directory:

-keyring /export/home/joerg/.eclipse-keyring/.keyring \

Maybe you put the keystore into a separate sub-directory in your $HOME?

Cheers, Jörg

On 07/14/09 18:22, Eduard Bauer wrote:
> Hey,
>
> answers intersected.
>
> Ulf Seltmann wrote:
>> Eduard Bauer schrieb:
>> > Hey out there,
>> Hi
>>
>> >
>> > 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
>> is it really there? what says
>> #$ ls -la /home/edebauer/.keystore
>
> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
> /home/edebauer/.keystore
>
>>
>> are the rights ok? the owner of the eclipse process needs at least
>> read permissions to the file /home/edebauer/.keystore AND at least
>> execute permissions to the directory /home/edebauer/
>
> It does not seem to depend on the permissions. I can give everybody any
> permission. I have tried to start eclipse either as root, or from my
> account. But always the same "FileNotFoundException".
>
>>
>> did you use the right keytool?
>> #$ sudo update-alternatives --config java
>> shows the used java runtime environment for eclipse (if not defined
>> other elsewhere)
>
> The above command delivers the result:
>
> There is only 1 program which provides java
> (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. I am
> pretty sure that this java virtual machine is used by eclipse. I do not
> have any other installed.
>
>
>
>> #$ sudo update-alternatives --config keytool
>> shows the keytool you used for creating your keystore-file
>
> The command returns the following result
>
> There is only 1 program which provides keytool
> (/usr/lib/jvm/java-6-sun/jre/bin/keytool). Nothing to configure.
>
> This was the keytool i have used to add the particular certificates to
> the keystore. Whenever i run
> #$ keytool -keystore .keystore -v -list
> in my home directory, the certificate is shown to be within the
> according keystore
>
>>
>> By the way, i think eclipse doesnt need to know your
>> keystore-password. AFAIK its only needed to put things in the keystore.
>
> Well, I have found out something really interesting. Whenever i remove
> the line containing the password, the "FileNotFoundException" does not
> occur anymore. But the other problem (the dialogbox) remains, whenever i
> try to synchronize my repository.
>
> Here the Problem again:
> "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)
>
>
>>
>> ciao
>>
>> Ulf
> Kind regards
> Ede
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598174 is a reply to message #70716] Wed, 15 July 2009 07:31 Go to previous message
Edaurd Bauer is currently offline Edaurd BauerFriend
Messages: 9
Registered: July 2010
Junior Member
Hey Jörg,

thanks for your effort. Answers intersected

Jörg Thönnes wrote:
> Hi Ede,
>
> just some thoughts: Where did the keystore file come from? Did you copy
> it from your .eclipse directory or anywhere else?

To my knowledge, every linux system has two keystore files deliverd with
Java: One called "cacers" in the jre/lib/security directory, and the
other one called ".keystore" within the users home directory. Usually,
these two files should be discovered automatically. Unfortunatelly, this
was not the case. So I added the lines to the eclipse.ini.

The .keystore contains the certificate needed to access the https side.
I have created this entry with keytool. I think this entry is correct,
since the command "keytool -keystore .keystore -v -list" shows the
according certificate:

Owner: EMAILADDRESS=thobie@upb.de, CN=fg-cn-dev1.cs.uni-paderborn.de,
OU=EIM-I FG Rechnernetze, O=University of Paderborn, L=Paderborn,
ST=NRW, C=DE
Issuer: EMAILADDRESS=thobie@upb.de, CN=fg-cn-dev1.cs.uni-paderborn.de,
OU=EIM-I FG Rechnernetze, O=University of Paderborn, L=Paderborn,
ST=NRW, C=DE
Serial number: 9dc604b4a65112e7
Valid from: Fri Mar 13 12:57:00 CET 2009 until: Wed Mar 12 12:57:00 CET 2014
Certificate fingerprints:
MD5: 60:05:7B:15:6F:B8:05:2F:24:6F:9B:A4:C0:B8:7A:F6
SHA1: 17:8C:77:31:C2:3E:A2:5C:AB:C9:48:25:F1:5C:A5:D4:A2:51:6C:AD
Signature algorithm name: SHA1withRSA
Version: 1

By the way, my .eclipse folder does not contain a keystore file.
Whenever I start without a given keystore file, no error is shown, when
trying to synchronize the task-repository, but as well, no tasks are
shown. I was wondering why no error is shown in this case.


>
> How about these steps:
>
> 1. Start without the keystore properties
> 2. Save some passwords etc
> 3. Search for the keystore file
> 4. Copy it to the given location
> 5. Start using the keystore properties

Actually, I havent found out, how to perform these steps. Can anybody
give me a hint, where I have to enter a password that would be stored in
a eclipse-separate keystore file? (btw. is this the same kind of file
like in the case of the java keystore files?)

>
> We currently just using the keyring directory:
>
> -keyring /export/home/joerg/.eclipse-keyring/.keyring \
>
> Maybe you put the keystore into a separate sub-directory in your $HOME?

Tried did unfortunatelly not work :(.

>
> Cheers, Jörg
>
> On 07/14/09 18:22, Eduard Bauer wrote:
>> Hey,
>>
>> answers intersected.
>>
>> Ulf Seltmann wrote:
>>> Eduard Bauer schrieb:
>>> > Hey out there,
>>> Hi
>>>
>>> >
>>> > 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
>>> is it really there? what says
>>> #$ ls -la /home/edebauer/.keystore
>>
>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>> /home/edebauer/.keystore
>>
>>>
>>> are the rights ok? the owner of the eclipse process needs at least
>>> read permissions to the file /home/edebauer/.keystore AND at least
>>> execute permissions to the directory /home/edebauer/
>>
>> It does not seem to depend on the permissions. I can give everybody
>> any permission. I have tried to start eclipse either as root, or from
>> my account. But always the same "FileNotFoundException".
>>
>>>
>>> did you use the right keytool?
>>> #$ sudo update-alternatives --config java
>>> shows the used java runtime environment for eclipse (if not defined
>>> other elsewhere)
>>
>> The above command delivers the result:
>>
>> There is only 1 program which provides java
>> (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. I am
>> pretty sure that this java virtual machine is used by eclipse. I do
>> not have any other installed.
>>
>>
>>
>>> #$ sudo update-alternatives --config keytool
>>> shows the keytool you used for creating your keystore-file
>>
>> The command returns the following result
>>
>> There is only 1 program which provides keytool
>> (/usr/lib/jvm/java-6-sun/jre/bin/keytool). Nothing to configure.
>>
>> This was the keytool i have used to add the particular certificates to
>> the keystore. Whenever i run
>> #$ keytool -keystore .keystore -v -list
>> in my home directory, the certificate is shown to be within the
>> according keystore
>>
>>>
>>> By the way, i think eclipse doesnt need to know your
>>> keystore-password. AFAIK its only needed to put things in the keystore.
>>
>> Well, I have found out something really interesting. Whenever i remove
>> the line containing the password, the "FileNotFoundException" does not
>> occur anymore. But the other problem (the dialogbox) remains, whenever
>> i try to synchronize my repository.
>>
>> Here the Problem again:
>> "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)
>>
>>
>>>
>>> ciao
>>>
>>> Ulf
>> Kind regards
>> Ede

Kind regards
Ede
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598185 is a reply to message #70676] Wed, 15 July 2009 09:07 Go to previous message
Ulf Seltmann is currently offline Ulf SeltmannFriend
Messages: 11
Registered: July 2009
Junior Member
Eduard Bauer schrieb:
>> #$ ls -la /home/edebauer/.keystore
>
> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
> /home/edebauer/.keystore
....
> It does not seem to depend on the permissions. I can give everybody any
> permission. I have tried to start eclipse either as root, or from my
> account. But always the same "FileNotFoundException".
i would restrict the rights to 600. too much rights could be the problem
too. at least for ssh keybased auth i know that it complains about and
refuses to use the wideopened private-key.
give it a try.

....
> Here the Problem again:
> "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)
hmm. sounds like java is missing something... i have no experiences with
sun-java. maybe you can give openjdk6 a try (ubuntu has packages i think)

alternative you can try to append your ssl-certificate to the standard
keystore (i think you found it already). standard-password for the
keystore is "changeit" at least for debian.

how do you retrieve the error-messages? do you query the .metadata/log
file? another way is to start eclipse at the commandprompt. giving
eclipse an standard-input could change a lot. i sometimes could discover
new informations starting this way.

ciao

Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598189 is a reply to message #70768] Wed, 15 July 2009 09:24 Go to previous message
Edaurd Bauer is currently offline Edaurd BauerFriend
Messages: 9
Registered: July 2010
Junior Member
hey Ulf,

answers intersected.

Ulf Seltmann wrote:
> Eduard Bauer schrieb:
>>> #$ ls -la /home/edebauer/.keystore
>>
>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>> /home/edebauer/.keystore
> ...
>> It does not seem to depend on the permissions. I can give everybody
>> any permission. I have tried to start eclipse either as root, or from
>> my account. But always the same "FileNotFoundException".
> i would restrict the rights to 600. too much rights could be the problem
> too. at least for ssh keybased auth i know that it complains about and
> refuses to use the wideopened private-key.
> give it a try.
>

I have tried nearly any permission :). But nothing works.

> ...
>> Here the Problem again:
>> "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)
> hmm. sounds like java is missing something... i have no experiences with
> sun-java. maybe you can give openjdk6 a try (ubuntu has packages i think)
>
> alternative you can try to append your ssl-certificate to the standard
> keystore (i think you found it already). standard-password for the
> keystore is "changeit" at least for debian.

Already tried that, as well. This file is called cacerts, and situated
under "jre/lib/security". But this did not work either. I have added
only this keystore with -D option to eclipse.ini, but it does not work
as well.

>
> how do you retrieve the error-messages? do you query the .metadata/log
> file? another way is to start eclipse at the commandprompt. giving
> eclipse an standard-input could change a lot. i sometimes could discover
> new informations starting this way.

the error message i have described is a dialog box showing that error.
The other error message concerning the "FileNotFoundException" was
situated within the .metadata/log. But this file always contains the
same errors as the Error View, found within Eclipse.

What do you mean by "at the commandprompt". I have started it via
terminal, but this did not deliver additional pieces of information.

I am currently not willing to try out openjdk6, since I am afraid, it
would change some properties of mine. I will try a little bit longer to
solve the problem with suns sdk. The openjdk-solution would be my last
effort :).

>
> ciao
>
> Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598196 is a reply to message #70773] Wed, 15 July 2009 13:52 Go to previous message
Edaurd Bauer is currently offline Edaurd BauerFriend
Messages: 9
Registered: July 2010
Junior Member
Hey out there,

I have solved the problem by the following configuration of the eclipse.ini:

-Djavax.net.ssl.trustStore=/path_to_trust_store/cacerts
-Djavax.net.ssl.trustStorePassword=changeit
-Djavax.net.ssl.trustStoreType=JKS

It is important NOT to use ", and to call that store trustStore. The
certificate can be easily added with the help of keytool. The according
trust store is situated under "/path_to_trust_store" in my case.

Nevertheless, thanks everybody for his or her effort :).

Kind regards
Ede


Eduard Bauer wrote:
> hey Ulf,
>
> answers intersected.
>
> Ulf Seltmann wrote:
>> Eduard Bauer schrieb:
>>>> #$ ls -la /home/edebauer/.keystore
>>>
>>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>>> /home/edebauer/.keystore
>> ...
>>> It does not seem to depend on the permissions. I can give everybody
>>> any permission. I have tried to start eclipse either as root, or from
>>> my account. But always the same "FileNotFoundException".
>> i would restrict the rights to 600. too much rights could be the
>> problem too. at least for ssh keybased auth i know that it complains
>> about and refuses to use the wideopened private-key.
>> give it a try.
>>
>
> I have tried nearly any permission :). But nothing works.
>
>> ...
>>> Here the Problem again:
>>> "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)
>> hmm. sounds like java is missing something... i have no experiences
>> with sun-java. maybe you can give openjdk6 a try (ubuntu has packages
>> i think)
>>
>> alternative you can try to append your ssl-certificate to the standard
>> keystore (i think you found it already). standard-password for the
>> keystore is "changeit" at least for debian.
>
> Already tried that, as well. This file is called cacerts, and situated
> under "jre/lib/security". But this did not work either. I have added
> only this keystore with -D option to eclipse.ini, but it does not work
> as well.
>
>>
>> how do you retrieve the error-messages? do you query the .metadata/log
>> file? another way is to start eclipse at the commandprompt. giving
>> eclipse an standard-input could change a lot. i sometimes could
>> discover new informations starting this way.
>
> the error message i have described is a dialog box showing that error.
> The other error message concerning the "FileNotFoundException" was
> situated within the .metadata/log. But this file always contains the
> same errors as the Error View, found within Eclipse.
>
> What do you mean by "at the commandprompt". I have started it via
> terminal, but this did not deliver additional pieces of information.
>
> I am currently not willing to try out openjdk6, since I am afraid, it
> would change some properties of mine. I will try a little bit longer to
> solve the problem with suns sdk. The openjdk-solution would be my last
> effort :).
>
>>
>> ciao
>>
>> Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598203 is a reply to message #70773] Wed, 15 July 2009 14:06 Go to previous message
Ulf Seltmann is currently offline Ulf SeltmannFriend
Messages: 11
Registered: July 2009
Junior Member
Hi Eduard

Eduard Bauer schrieb:
> Already tried that, as well. This file is called cacerts, and situated
> under "jre/lib/security". But this did not work either. I have added
> only this keystore with -D option to eclipse.ini, but it does not work
> as well.
I didn't need to do that. The standard keystore is always included. In
fact my eclipse.ini is standard (eclipse 2.5, mylyn 3.2.0).

I don't know whats the problem on your system. by now i can only
describe what i did to achieve this:

1. get the root-certificate or the server-certificate
2. add the certificate to keystore (in debian with openjdk)
#$ keytool -keystore /etc/ssl/certs/java/cacerts -import -file \
/path/to/cert.pem -alias <my-own-certificate>
3. answer the question of adding the certificate with 'yes'
4. start eclipse

> What do you mean by "at the commandprompt".
yes, terminal. not by menu-entry :)

as i had a problem with native javahl for subversion eclipse prompted me
for a password in the terminal. without starting in terminal i got
"connection refused" without any further error message.

good luck,

Ulf
Re: Problem accessing https secured issue-system (redmine) with mylyn [message #598220 is a reply to message #70787] Thu, 16 July 2009 00:13 Go to previous message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 505
Registered: July 2009
Senior Member
Eduard,

It would be great if you could add a note about this issue to one of
the wiki pages:

http://wiki.eclipse.org/Mylyn_User_Guide#Generic_Web_Templat es_Connector
http://wiki.eclipse.org/Mylyn_FAQ#Web_Templates_Connector

Thanks

Eugene


Eduard Bauer wrote:
> Hey out there,
>
> I have solved the problem by the following configuration of the
> eclipse.ini:
>
> -Djavax.net.ssl.trustStore=/path_to_trust_store/cacerts
> -Djavax.net.ssl.trustStorePassword=changeit
> -Djavax.net.ssl.trustStoreType=JKS
>
> It is important NOT to use ", and to call that store trustStore. The
> certificate can be easily added with the help of keytool. The
> according trust store is situated under "/path_to_trust_store" in my
> case.
>
> Nevertheless, thanks everybody for his or her effort :).
>
> Kind regards
> Ede
>
>
> Eduard Bauer wrote:
>> hey Ulf,
>>
>> answers intersected.
>>
>> Ulf Seltmann wrote:
>>> Eduard Bauer schrieb:
>>>>> #$ ls -la /home/edebauer/.keystore
>>>>
>>>> -rwxrwxrwx 1 edebauer edebauer 2099 2009-07-13 22:29
>>>> /home/edebauer/.keystore
>>> ...
>>>> It does not seem to depend on the permissions. I can give everybody
>>>> any permission. I have tried to start eclipse either as root, or
>>>> from my account. But always the same "FileNotFoundException".
>>> i would restrict the rights to 600. too much rights could be the
>>> problem too. at least for ssh keybased auth i know that it complains
>>> about and refuses to use the wideopened private-key.
>>> give it a try.
>>>
>>
>> I have tried nearly any permission :). But nothing works.
>>
>>> ...
>>>> Here the Problem again:
>>>> "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)
>>> hmm. sounds like java is missing something... i have no experiences
>>> with sun-java. maybe you can give openjdk6 a try (ubuntu has
>>> packages i think)
>>>
>>> alternative you can try to append your ssl-certificate to the
>>> standard keystore (i think you found it already). standard-password
>>> for the keystore is "changeit" at least for debian.
>>
>> Already tried that, as well. This file is called cacerts, and
>> situated under "jre/lib/security". But this did not work either. I
>> have added only this keystore with -D option to eclipse.ini, but it
>> does not work as well.
>>
>>>
>>> how do you retrieve the error-messages? do you query the
>>> .metadata/log file? another way is to start eclipse at the
>>> commandprompt. giving eclipse an standard-input could change a lot.
>>> i sometimes could discover new informations starting this way.
>>
>> the error message i have described is a dialog box showing that
>> error. The other error message concerning the "FileNotFoundException"
>> was situated within the .metadata/log. But this file always contains
>> the same errors as the Error View, found within Eclipse.
>>
>> What do you mean by "at the commandprompt". I have started it via
>> terminal, but this did not deliver additional pieces of information.
>>
>> I am currently not willing to try out openjdk6, since I am afraid, it
>> would change some properties of mine. I will try a little bit longer
>> to solve the problem with suns sdk. The openjdk-solution would be my
>> last effort :).
>>
>>>
>>> ciao
>>>
>>> Ulf
Previous Topic:Code-Review plugin?
Next Topic:activated tasks
Goto Forum:
  


Current Time: Sat Dec 20 03:04:09 GMT 2014

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

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