Re: I'm having trouble getting an ssl client programmed in java

2008-06-19 Thread Jim Lynch
On Wed, Jun 18, 2008 at 5:33 PM, Julius Davies <[EMAIL PROTECTED]> wrote: > Your very first code example (without the context) should be fine! > There is no need to set any ciphers. Java has a list of ciphers it > will automatically try to use. > > If you like downloading jar files, here's anothe

Re: I'm having trouble getting an ssl client programmed in java

2008-06-18 Thread Julius Davies
Your very first code example (without the context) should be fine! There is no need to set any ciphers. Java has a list of ciphers it will automatically try to use. If you like downloading jar files, here's another way: http://juliusdavies.ca/commons-ssl/ssl.html yours, Julius On Wed, Jun

Re: I'm having trouble getting an ssl client programmed in java

2008-06-18 Thread Jim Lynch
On Wed, Jun 18, 2008 at 2:14 PM, AverageGuy <[EMAIL PROTECTED]> wrote: > > > > Julius Davies-2 wrote: > > > > Your code is fine. Don't use /usr/bin/java (the gnu jvm)! Install a > > JVM from Sun or IBM or BEA or Blackdown, or Kaffe, at the very least, > > and use that instead. > > > > After inst

Re: I'm having trouble getting an ssl client programmed in java

2008-06-18 Thread AverageGuy
Julius Davies-2 wrote: > > Your code is fine. Don't use /usr/bin/java (the gnu jvm)! Install a > JVM from Sun or IBM or BEA or Blackdown, or Kaffe, at the very least, > and use that instead. > > After installing a vendor's JVM, make sure you use the "java" > executable they provide. For exa

Re: I'm having trouble getting an ssl client programmed in java

2008-06-18 Thread Julius Davies
ot;SSL and TLS" book but it like most examples assumes an http > client which this is not. > > Another question is how do I specify a cipher and/or do I have to? > > Thanks for any pointers. > > Jim. > ___

I'm having trouble getting an ssl client programmed in java

2008-06-18 Thread AverageGuy
I am attempting to connect to an ssl server that isn't a web site. I have C++ client code that works and would like to get a java client working. My initial attempt fails with a Exception in thread "main" gnu.javax.net.ssl.provider.AlertException: ILLEGAL_PARAMETER: remotely generated; FATAL