Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 712A010B79 for ; Thu, 5 Dec 2013 10:15:58 +0000 (UTC) Received: (qmail 96570 invoked by uid 500); 5 Dec 2013 10:15:52 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 96322 invoked by uid 500); 5 Dec 2013 10:15:50 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 96147 invoked by uid 99); 5 Dec 2013 10:15:48 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 10:15:48 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B7DEE1D3CD5; Thu, 5 Dec 2013 10:15:42 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8037758474871010428==" MIME-Version: 1.0 Subject: Re: Review Request 15897: Add certificate chain support for netscaler. From: "Murali Reddy" To: "Murali Reddy" Cc: "Syed Ahmed" , "cloudstack" Date: Thu, 05 Dec 2013 10:15:42 -0000 Message-ID: <20131205101542.12251.47711@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Murali Reddy" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/15897/ X-Sender: "Murali Reddy" References: <20131204044459.12482.69805@reviews.apache.org> In-Reply-To: <20131204044459.12482.69805@reviews.apache.org> Reply-To: "Murali Reddy" X-ReviewRequest-Repository: cloudstack-git --===============8037758474871010428== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15897/#review29806 ----------------------------------------------------------- patch does not apply on 4.3. Can you please submit patch for 4.3 Applied on master commit ee7380ace2014f8839417fd79e0a52cf9a0f02cd - Murali Reddy On Dec. 4, 2013, 4:44 a.m., Syed Ahmed wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/15897/ > ----------------------------------------------------------- > > (Updated Dec. 4, 2013, 4:44 a.m.) > > > Review request for cloudstack and Murali Reddy. > > > Bugs: CLOUDSTACK-5296 > https://issues.apache.org/jira/browse/CLOUDSTACK-5296 > > > Repository: cloudstack-git > > > Description > ------- > > This patch adds support for trust chains in the netscaler. > > I initially planned on using the 10.1 API's "bundle" feature but during my testing I found that was not working. So I am doing the chain linking myself. Also NS can have only one entity of a certificate ie lets say two different users try to add the same certificate on the netscaler only one of them will go through. The other one says resouce already exists even though they have different files. > > This can be a problem in trust chains where the chain can be shared between multiple accounts/certificates. So, I am using the figerprint as an identifier of a certificate and making sure that we delete it only when no one references it. > > > Diffs > ----- > > .gitignore dab1b3f > api/src/com/cloud/network/lb/LoadBalancingRule.java 4b2f9c4 > engine/schema/src/com/cloud/network/dao/SslCertDaoImpl.java 99354c5 > plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java 7dac9a0 > server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java a2eba07 > server/src/org/apache/cloudstack/network/lb/CertServiceImpl.java 17f88bd > utils/src/com/cloud/utils/security/CertificateHelper.java e8d20b0 > > Diff: https://reviews.apache.org/r/15897/diff/ > > > Testing > ------- > > Testing was done a a 3-length chain with a root, intermediate and a client certificate. Two clients share the same intermediate certificate. > > > Thanks, > > Syed Ahmed > > --===============8037758474871010428==--