Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 25396 invoked from network); 2 Oct 2007 17:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 17:22:11 -0000 Received: (qmail 32798 invoked by uid 500); 2 Oct 2007 17:22:01 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 32716 invoked by uid 500); 2 Oct 2007 17:22:00 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 32707 invoked by uid 99); 2 Oct 2007 17:22:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 10:22:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 17:22:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 92D02714187 for ; Tue, 2 Oct 2007 10:21:50 -0700 (PDT) Message-ID: <12358329.1191345710576.JavaMail.jira@brutus> Date: Tue, 2 Oct 2007 10:21:50 -0700 (PDT) From: "Fred Dushin (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Updated: (CXF-1085) EnhReq: Add support for TrustStores in PEM format In-Reply-To: <11195117.1191273650558.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fred Dushin updated CXF-1085: ----------------------------- Attachment: cxf-1085.patch The patch adds support for a certStore schama type to configuration, supports the processing of this type, and exercises this code in the existing https system test. I will add the binary PKCS12 files needed for this patch to this ticket, as well, as I believe the patch does not include them. I'll include relative paths to where these files need to be added. > EnhReq: Add support for TrustStores in PEM format > ------------------------------------------------- > > Key: CXF-1085 > URL: https://issues.apache.org/jira/browse/CXF-1085 > Project: CXF > Issue Type: New Feature > Components: Configuration > Affects Versions: 2.0.2 > Reporter: Fred Dushin > Fix For: 2.0.3 > > Attachments: cxf-1085.patch > > > Currently, we support config for key and trust stores along the lines of: > {{{ > > > file="src/test/java/org/apache/cxf/systest/http/resources/server.p12"/> > > > file="src/test/java/org/apache/cxf/systest/http/resources/truststore.jks"/> > > > }}} > I propose a new element [1], sec:pemStore, which can be added to a sec:trustManagers element [2] (but obviously not a sec:keyManagers element), along the lines of: > {{{ > > > file="src/test/java/org/apache/cxf/systest/http/resources/server.p12"/> > > > file="src/test/java/org/apache/cxf/systest/http/resources/truststore.pem"/> > > > }}} > The sec:pemStore element also supports the url and resource attributes, analogously to the sec:keyStore element. > The certificates in a pemStore are assumed to be sequence of catenated X.509 certificates, in PEM format. > Patch to follow shortly. > [1] I'd considered overloading the meaning of the "type" attribute in the KeyStoreType schema definition, but this is really an abuse of semantics -- the type attribute really means "keystore encoding". > [2] We use an xs:choice here, to avoid any ambiguity in config -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.