> Fernando Cuezva wrote:

>     - I've also tested the HTTPClient implementation from 
>http://www-sp.iti.informatik.tu-darmstadt.de/itissl/. but i'm unable to make it work. 
>Is there anyone that knows how to make it work with a
> Java application?

Where have you found HTTPClient on ITISSL site ? I have found only
SSLClient ! I use ITISSL implementation of SSL together with SUN
implementation of HTTPS protocol and it works.

Documentation for SUN SSL classes can be found at
http://java.sun.com/security/ssl/packages.html
But for HTTPS URL connection you don't need it, just use:

import javax.net.ssl.*;
import de.tu_darmstadt.sp.ssl.*;
...
    SSLSocketFactory.setDefault(new SSLeaySocketFactory());
    URL myurl = new URL(urlstring);
    URLConnection yc = myurl.openConnection();
    BufferedReader in = new BufferedReader(new InputStreamReader(yc.getInputStream()));
    String inputLine = in.readLine();

Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   INET, a.s.                          Mgr. Martin Kuba
Kralovopolska 139                  e-mail: [EMAIL PROTECTED]
  601 12 Brno                      WWW: http://www.inet.cz/~makub/
 Czech Republic                    tel: +420-5-41242414/33
--------------------------------------------------------------------
PGP fingerprint = D8 57 47 E5 36 D2 C1 A1  C3 48 B2 59 00 58 42 27
 http://wwwkeys.cz.pgp.net:11371/pks/lookup?op=index&search=makub
--------------------------------------------------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to