Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 68836 invoked from network); 7 Sep 2006 18:05:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2006 18:05:52 -0000 Received: (qmail 96239 invoked by uid 500); 7 Sep 2006 18:05:40 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 95865 invoked by uid 500); 7 Sep 2006 18:05:38 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 95854 invoked by uid 99); 7 Sep 2006 18:05:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 11:05:38 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.25] (HELO web32712.mail.mud.yahoo.com) (68.142.206.25) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Sep 2006 11:05:36 -0700 Received: (qmail 9004 invoked by uid 60001); 7 Sep 2006 18:05:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lPgOBqQQarIQj74iKAC5NTrihv1mjp1Ca9TBSEF/Cyy42VGR3NKNqgpAYKLvW5cdCOQyccPnl80k8X/8bkkgklIdA+Q6fw5bXTn2fHySzkfA6bCacjP8Q4pSC87K1DOdUp9d70N4wssMG+eB1EPiOCxo+VoXC9tWRbjV/PwuaUI= ; Message-ID: <20060907180515.9002.qmail@web32712.mail.mud.yahoo.com> Received: from [152.15.98.163] by web32712.mail.mud.yahoo.com via HTTP; Thu, 07 Sep 2006 11:05:15 PDT Date: Thu, 7 Sep 2006 11:05:15 -0700 (PDT) From: keyur sheth Subject: Re: Error while converting tomcat container from http to https To: Tomcat Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-772277869-1157652315=:8139" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-772277869-1157652315=:8139 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Bill, Where should I put the sslimplementation tag in the Connector tag. Because in the tomcat documentation for SSL this type of tag is not there. So can you please elaborate on this. And also give me the correct syntax for ssLImplementation. Keyur Bill Barker wrote: PureTLS doesn't use the standard Java keystore format. Consult the PureTLS docs for the correct format. Alternatively, specify sSLImplementation="org.apache.tomcat.util.net.jsse.JSSEImplementation" on the element to use JSSE instead of PureTLS. "keyur sheth" wrote in message news:20060907022345.85536.qmail@web32709.mail.mud.yahoo.com... > Hi everybody, > > I am trying to make the tomcat container secure by > converting it from http to https. I am using the documentation on the > following website. > http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html > > I had implemented this before by creating the > self-signed certificate and it worked. But for converting it to make it > trusted I deleted all the files like the .keystore file and created the > new .keystore and followed the steps in documentation. > > I am implementing the part in which you send the CSR > to the CA for gettting the trusted certificate. So I sent the CSR and got > the three certificates from the trusted authority. The root certificate, > chain certificate and the signed certificate. I imported all the > certificate files one by one following the sequence root, chain and signed > certificate. > > But now there is some error by which I am not able to > see the page when I write the URL with > https://xxxx.xxx.xxx:8443/gridsphere. But if I give > http://xxxx.xxx.xxx:8080/ tomcat is starting and also also > http://xxxx.xxx.xxx:8080/gridsphere the gridsphere application is > starting. I shutdown the tomcat and also restarted the tomcat by making > all these changes. But still it didn't showed up. The error shown is as > follows:- > > Sep 2, 2006 1:39:14 PM org.apache.coyote.http11.Http11BaseProtocol start > SEVERE: Error starting endpoint > java.io.IOException: Couldn't find private key in this file > at > org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.init(PureTLSSocketFactory.java:149) > at > org.apache.tomcat.util.net.puretls.PureTLSSocketFactory.createSocket(PureTLSSocketFactory.java:69) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312) > at > org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:149) > at > org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:95) > at > org.apache.catalina.connector.Connector.start(Connector.java:1089) > at > org.apache.catalina.core.StandardService.start(StandardService.java:459) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:680) > at org.apache.catalina.startup.Catalina.start(Catalina.java:536) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > Sep 2, 2006 1:39:14 PM org.apache.catalina.startup.Catalina start > SEVERE: Catalina.start: > LifecycleException: Protocol handler start failed: java.io.IOException: > Couldn't find private key in this file > at > org.apache.catalina.connector.Connector.start(Connector.java:1091) > at > org.apache.catalina.core.StandardService.start(StandardService.java:459) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:680) > at org.apache.catalina.startup.Catalina.start(Catalina.java:536) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > > > Can somebody tell me what mistake I am doing. Have anybody > faced the same problem before. > > Thanking you, > Keyur > > > > > > > --------------------------------- > All-new Yahoo! Mail - Fire up a more powerful email and get things done > faster. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------- How low will we go? Check out Yahoo! Messenger�s low PC-to-Phone call rates. --0-772277869-1157652315=:8139--