Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Kaya TC



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  
>>> 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 
 codenameone-discussions+unsubscr...@googlegroups.com.
 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
  
 
 .

 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 codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 

Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread 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  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 
> codenameone-discussions+unsubscr...@googlegroups.com.
> 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
>  
> 
> .
>
> 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 codenameone-discussions+unsubscr...@googlegroups.com.
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/b9afa619-1f97-430a-8051-cd77ed1104e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.