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 011CC200C27 for ; Sun, 26 Feb 2017 16:05:17 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F3C3F160B6E; Sun, 26 Feb 2017 15:05:16 +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 41497160B59 for ; Sun, 26 Feb 2017 16:05:16 +0100 (CET) Received: (qmail 4187 invoked by uid 500); 26 Feb 2017 15:05:15 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 95147 invoked by uid 99); 25 Feb 2017 06:48:11 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.314 X-Spam-Level: * X-Spam-Status: No, score=1.314 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Date: Fri, 24 Feb 2017 22:42:38 -0800 (PST) From: shenrj To: users@activemq.apache.org Message-ID: <1488004958260-4722480.post@n4.nabble.com> In-Reply-To: References: <1487897707154-4722408.post@n4.nabble.com> Subject: Re: Javax.net.ssl.SSLHandshakeException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Sun, 26 Feb 2017 15:05:17 -0000 thanks tim, I have solved this problem by setting System Property in my project: System.setProperty("javax.net.ssl.trustStore",System.getProperty("java.home")+"/lib/security/cacerts"); System.setProperty("javax.net.ssl.trustStorePassword","changeit"); but,I don't know how to set Acitvemq JVM arguments. shenrj -- View this message in context: http://activemq.2283324.n4.nabble.com/Javax-net-ssl-SSLHandshakeException-tp4722408p4722480.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.