Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72188 invoked from network); 8 Nov 2008 12:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2008 12:15:43 -0000 Received: (qmail 54430 invoked by uid 500); 8 Nov 2008 12:15:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 54396 invoked by uid 500); 8 Nov 2008 12:15: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 54385 invoked by uid 99); 8 Nov 2008 12:15:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2008 04:15:38 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2008 12:14:19 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KymiS-0006qo-Ee for users@tomcat.apache.org; Sat, 08 Nov 2008 04:15:00 -0800 Message-ID: <20395480.post@talk.nabble.com> Date: Sat, 8 Nov 2008 04:15:00 -0800 (PST) From: "pawel.jasinski" To: users@tomcat.apache.org Subject: apr ssl tomcat 6.0.18 (5.5.25), unknown pbe algorithm MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: pawel.jasinski@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org hi, when I try to use encrypted private key with apr I get the following in error in log. Nov 8, 2008 12:47:00 PM org.apache.coyote.http11.Http11AprProtocol init SEVERE: Error initializing endpoint java.lang.Exception: Unable to load certificate key /home/rejap/app/certs/rzuem5008u-enc.key (error:06074079:digital envelope routines:EVP_PBE_CipherInit:unknown pbe algorithm) at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:684) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1058) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795) at org.apache.catalina.startup.Catalina.load(Catalina.java:530) at org.apache.catalina.startup.Catalina.load(Catalina.java:550) 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:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412) Nov 8, 2008 12:47:00 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start my setup: For now I am forced to use key without encryption. Note: To convert the key from encrypted to unencrypted i use: openssl pkcs8 -topk8 -nocrypt -in rzuem5008u-enc.key -inform PEM -out tmp.der -outform DER openssl pkcs8 -nocrypt -in tmp.der -inform DER -out rzuem5008u.key -outform PEM I tired 5.5.25 and 6.0.18, on 6.0.18. On 6 in addition to error there is a prompt for password. The final result is always the same. This is all under ubuntu 8.04 (apr 1.2.11-1, ssl 0.9.8g-4ubuntu3.3) Pawel -- View this message in context: http://www.nabble.com/apr-ssl-tomcat-6.0.18-%285.5.25%29%2C-unknown-pbe-algorithm-tp20395480p20395480.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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