Ok, that was the right link for me =)

The JDK Path as an example for the other people: C:\Program 
Files\Java\jdk1.8.0_74\jre\lib\security

But now i hit a different error


java.net.SocketException: Unexpected end of file from server
>     at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:792)
>     at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
>     at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:789)
>     at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
>

this is very annoying :(

Am Freitag, 27. Mai 2016 17:33:23 UTC+2 schrieb Dan:
>
> Shouldn't the keystore file path be the one in whatever JDK you're using?
>
> See this:
> http://stackoverflow.com/a/27928213/503246
>
> On Friday, 27 May 2016 11:59:55 UTC-3, Kaya TC wrote:
>>
>>
>> <https://lh3.googleusercontent.com/-nBgpo9XESnA/V0hg1iwBzRI/AAAAAAAAAvo/WbHZxXa3hPEtJbPtmYGKH3VbRsWpp-X1wCLcB/s1600/keystore.png>
>> This is how it looks for me right now :\
>>
>> Am Freitag, 27. Mai 2016 16:56:42 UTC+2 schrieb Dan:
>>>
>>> Honestly, this is all I remember at this point.
>>>
>>> Maybe try to list the content of the keystore and see if it was imported 
>>> correctly? I suspect the command can be run from anywhere, providing the 
>>> full path to the keystore be provided in the call?
>>>
>>> On Friday, 27 May 2016 11:50:02 UTC-3, Kaya TC wrote:
>>>>
>>>> Hey Dan,
>>>>
>>>> i have indeed 2 JDKs installed, the JDK8 is the one i enabled in 
>>>> Eclipse, atleast it has the tick on it, i dont have a JRE installation 
>>>> beside of the JDKs because they may interfere with each other.
>>>>
>>>> Right after your last message i went into the Keytool settings and 
>>>> loaded my keystore so it does now appear right after eclipse start.
>>>>
>>>> I went further and put in the .pfx file in to the keystore beside of 
>>>> the steps i as described in the previous posting.
>>>>
>>>> What i am beeing totally unsure is where i have to call that keytool 
>>>> command, i did it in the Windows command line without navigating to any 
>>>> eclipse directory etc...
>>>>
>>>> Am Freitag, 27. Mai 2016 16:45:40 UTC+2 schrieb Dan:
>>>>>
>>>>> There can be many versions of the JRE or JDK on your system. Are you 
>>>>> sure that you updated the keystore on the appropriate one (ie. the one 
>>>>> Eclipse is configured to use)?
>>>>>
>>>>> On Friday, 27 May 2016 11:40:35 UTC-3, Kaya TC wrote:
>>>>>>
>>>>>> Did you do any other steps?
>>>>>>
>>>>>> i can see the keystore.jks in keytool on eclipse after opening it and 
>>>>>> typing password, but i still cant do a https connection.
>>>>>>
>>>>>> Did it as you said, downloaded the cert from my site, used this 
>>>>>> command on command line: "keytool -import -trustcacerts -alias 
>>>>>> *mydomain* -file *mydomain.crt* -keystore *keystore.jks"*
>>>>>>
>>>>>> Am Freitag, 27. Mai 2016 16:26:14 UTC+2 schrieb Dan:
>>>>>>>
>>>>>>> Been a while :)
>>>>>>>
>>>>>>> If I remember correctly, I visited the site using my browser and 
>>>>>>> used it to extract the public cert. Then, using keytool, I imported 
>>>>>>> said 
>>>>>>> cert (ie. file exported on disk), into my Java keystore using commands 
>>>>>>> found here:
>>>>>>>
>>>>>>> https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
>>>>>>>
>>>>>>> HTH
>>>>>>>
>>>>>>> On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:
>>>>>>>>
>>>>>>>> I´d be happy if you guys could provide more info on this, i have 
>>>>>>>> installed keytool on eclipse etc. but still dont have a right clue 
>>>>>>>> what to 
>>>>>>>> do afterwards
>>>>>>>>
>>>>>>>> Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:
>>>>>>>>>
>>>>>>>>> It works now.
>>>>>>>>>
>>>>>>>>> I simply added my cert into the JRE keystore and rebooted Eclipse.
>>>>>>>>>
>>>>>>>>> On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog <[email protected]> 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Assuming this doesn't help:
>>>>>>>>>>
>>>>>>>>>> https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
>>>>>>>>>>  
>>>>>>>>>>
>>>>>>>>>> Take a look here:
>>>>>>>>>>
>>>>>>>>>> http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
>>>>>>>>>>
>>>>>>>>>> There are several suggestions for properties you can pass to the 
>>>>>>>>>> JVM to workaround this, you can use the -D command line argument to 
>>>>>>>>>> pass 
>>>>>>>>>> System properties to the JVM.
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> You received this message because you are subscribed to a topic 
>>>>>>>>>> in the Google Groups "CodenameOne Discussions" group.
>>>>>>>>>> To unsubscribe from this topic, visit 
>>>>>>>>>> https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
>>>>>>>>>> .
>>>>>>>>>> To unsubscribe from this group and all its topics, send an email 
>>>>>>>>>> to [email protected].
>>>>>>>>>> Visit this group at 
>>>>>>>>>> http://groups.google.com/group/codenameone-discussions.
>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>> https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
>>>>>>>>>>  
>>>>>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>> .
>>>>>>>>>>
>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f51ab7b7-97c2-4119-8a9f-627c7759a781%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to