Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 29669 invoked by uid 500); 24 Jul 2003 10:52:33 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 29649 invoked from network); 24 Jul 2003 10:52:32 -0000 Received: from lan212067238034.ibk.telering.at (HELO ingw.eurotours.at) (212.67.238.34) by daedalus.apache.org with SMTP; 24 Jul 2003 10:52:32 -0000 Received: from mail-gw.eurotours.at (nt_server [172.30.83.2]) by ingw.eurotours.at (Postfix) with ESMTP id 240FF1034 for ; Thu, 24 Jul 2003 12:41:52 +0200 (DFT) To: users@httpd.apache.org From: Dietmar.Mueller@eurotours.at Date: Thu, 24 Jul 2003 12:52:31 +0200 Message-ID: X-MIMETrack: Serialize by Router on Verkauf Server 0/Eurotours GmbH(Release 5.0.8 |June 18, 2001) at 24.07.2003 12:52:31 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Antwort: [users@httpd] https configure question Try to make the SSL Connect like this: import java.io.*; import java.net.*; import java.security.Security; /** * * @author mueller */ public class SSL { /** Creates a new instance of SSL */ public SSL() { try { Security.addProvider(new com.sun.net.ssl.internal.ssl.Provi= der ()); System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); URL url =3D new URL("https://wwwet.eurotours.at"); HttpURLConnection huc =3D (HttpURLConnection)url.openConnec= tion (); huc.setRequestMethod("TRACE"); huc.setRequestProperty("Host", url.getHost()); //huc.setDoOutput(true); //PrintWriter writer =3D new PrintWriter(huc.getOutputStrea= m()); //writer.flush(); //writer.close(); BufferedReader br =3D new BufferedReader(new InputStreamReader(huc.getInputStream())); String line; while((line =3D br.readLine()) !=3D null){ System.out.println(line); } } catch (MalformedURLException mue) { mue.printStackTrace(); } catch (IOException io) { io.printStackTrace(); } } public static void main (String[] args) { new SSL(); } } regards Dietmar Per L=F8vmo am 24.07.2003 12:31:18 Bitte antworten an users@httpd.apache.org An: "'users@httpd.apache.org'" Kopie: Thema: [users@httpd] https configure question Hi all, A partner has developed an "repository" running on a tomcat (version 3.2.3). This web server is then responsible for handling https messages (and wo= rks as expected). I've succeeded communicating with it through the use of a= soap library (test program). I've created a GUI-thingy which should collect data from "repository" v= ia soap, and first thought was that the tomcat (version 4.1.12) which I us= e, don't need to know about https, since that is handled through the soap library (yes the certificate++ is set correctly here). But I get in the browser: ... org.apache.jasper.JasperException: unknown protocol: https at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j= ava:2 48) ... and the "debug" report says: ... java.net.MalformedURLException: unknown protocol: https at java.net.URL.(URL.java:475) at java.net.URL.(URL.java:371) at java.net.URL.(URL.java:325) at com.Alenia.rtp1113.wp8.SoapHandler.soapOrb.ProxySoap.(Unknown Sou= rce) at com.Alenia.rtp1113.wp8.SoapHandler.soapProxies.EntryDeveloperBusinessDe= legat eProxy.(Unknown Source) at org.apache.jsp.testRepositoryLogin_jsp. _jspService(testRepositoryLogin_jsp.j ava:56) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136) ... I then did install the JSSE, put the library appropriately and put in t= he server.xml: ... ... But I still get the same error in the browser and "debug" report... Any help would be sincerely appreciated. Best Regards Per --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Proje= ct. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org = --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org