Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4E4D4200CB3 for ; Mon, 26 Jun 2017 21:21:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4CB89160BDE; Mon, 26 Jun 2017 19:21:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92C6B160BDA for ; Mon, 26 Jun 2017 21:21:08 +0200 (CEST) Received: (qmail 27797 invoked by uid 500); 26 Jun 2017 19:21:02 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 27786 invoked by uid 99); 26 Jun 2017 19:21:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2017 19:21:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 542B2C061B for ; Mon, 26 Jun 2017 19:21:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.736 X-Spam-Level: *** X-Spam-Status: No, score=3.736 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Ij5VfwJ5jcnk for ; Mon, 26 Jun 2017 19:21:01 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 3C6AD5F6C0 for ; Mon, 26 Jun 2017 19:21:01 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 9C4234D8B879D for ; Mon, 26 Jun 2017 12:21:00 -0700 (MST) Date: Mon, 26 Jun 2017 12:03:38 -0700 (PDT) From: "ani.desh1512" To: user@flink.apache.org Message-ID: <1498503818862-14005.post@n4.nabble.com> In-Reply-To: <1041DA72-D34F-4125-B16B-895513FDAF16@gmail.com> References: <1498428555533-13988.post@n4.nabble.com> <371f9384-9411-7be1-3937-e425ce58235b@apache.org> <1498488944564-14001.post@n4.nabble.com> <1041DA72-D34F-4125-B16B-895513FDAF16@gmail.com> Subject: Re: MapR libraries shading issue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Mon, 26 Jun 2017 19:21:09 -0000 Pasting my reply from the MapR community thread: So, I have found a temporary workaround for this. Heres what I did: For the client, I found out the password of /opt/mapr/conf/ssl_trustore via ssl-client.xml For both Datadog and Amazon S3, I found out the certs chain that they were using (i could do this easily in firefox). I then dowloaded these certs and added them to the mapr trustore i.e. /opt/mapr/conf/ssl_trustore e.g: keytool -import -alias s3 -file s3.cer -keystore /opt/mapr/conf/ssl_truststore -storepass ) After doing this, the ssl handshake error that i was getting was resolved. I say this is a temporary fix because, lets say in future Amazon S3 change their root certificate issuer or they change their ssl certificate, then we ll need to do these steps again. Also, it is cumbersome to add these certs for EACH AND EVERY website that we are trying to access. So, I think the issue is that once we add mapr libs to flink classpath, MapR's keystore/truststore get used and that is what is causing the problem. Is this the expected behaviour? Would this be a bug on Flink side or mapr side or (worse) even on the base apache http client used by aws and datadog? -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/MapR-libraries-shading-issue-tp13988p14005.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.