Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A363186A9 for ; Tue, 8 Mar 2016 20:39:19 +0000 (UTC) Received: (qmail 90144 invoked by uid 500); 8 Mar 2016 20:39:14 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 90072 invoked by uid 500); 8 Mar 2016 20:39:14 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 90060 invoked by uid 99); 8 Mar 2016 20:39:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2016 20:39:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 556BFC2113 for ; Tue, 8 Mar 2016 20:39:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.43 X-Spam-Level: * X-Spam-Status: No, score=1.43 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id OB1OOJqMWYnU for ; Tue, 8 Mar 2016 20:39:11 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 7B9FD5F20E for ; Tue, 8 Mar 2016 20:39:10 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id p65so165865189wmp.1 for ; Tue, 08 Mar 2016 12:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=0hwtckeHY8/FeLtC8sc6cDXiYJ20NWktlzcPPUxZyzw=; b=QKL8VOZH8WKDqi98MoA0zbeAm59pi/fL2yOl25M50Qdqvy0fqrHQua5iAsv3nrzgvn Nnm5ShtxLUeAQ1bEPZWRPOeiMEr0J5EJiquy4qANkUL9PAKlR2nrewoEpsmUHbSvmPc0 lV9bSDSkjMKk0d04G0Yb/CuWmVw5iSSM05ayybri3Z6F6AmKV9tlne3K0fbfa2eTwFHb /suBAFtAvO1xGK9AF0HtBz1ibEv+mttYpZdmC4Xkp5R7C6KrlmcGMX11YcsnaLpGlsFi YRmXMc7ORE5ox3zSWw5zS/YLgZynpK+FuG0T8c7U7BE8Rn8msV9Kl3IiHebhvPo2D5TP GmDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=0hwtckeHY8/FeLtC8sc6cDXiYJ20NWktlzcPPUxZyzw=; b=A8Zbk2+4k7ccjyFpS2bNv2IkOxjdtG8e0K0H8gc6DGnmyI2y2WH1lBSshg8aS3eECG bNLr87bA6guwE9VepGZe/rYKqCj4HVXAwfuxFSF3Nts6dOk3KtTYiwjpZ9OeLF3Wc7YF FQWG3LiYgAgLcy/lOrvqkqBbDnEGNaaY0ZQa+tzuSk/KeC3rQZa3K52ATl70zchRimdN RXykkpoWiZ4fE/fIvS0TSPULt6SUAwMzHpVZATf/nd/pIOYAFckXv0XDSYuBt1ulM1ir BK5EeJxYPb3Pp31kK0Rkdi6pOI4yD/xgu4QMcXshVjp3PPP/Bnv0QwW8dkU2FExEuGoB fcrQ== X-Gm-Message-State: AD7BkJIYtwNpKF+sbYF2GSbidWkNZDMhSdQ3WxmUZQ1KHifBU9op3AjhCNuDEcg4z3UFjfloPv0O7AigTYH1JQ== MIME-Version: 1.0 X-Received: by 10.28.23.75 with SMTP id 72mr22304098wmx.50.1457469549370; Tue, 08 Mar 2016 12:39:09 -0800 (PST) Received: by 10.28.72.198 with HTTP; Tue, 8 Mar 2016 12:39:09 -0800 (PST) In-Reply-To: <3229B0F7-AB5C-4891-A384-CF493A866009@gmail.com> References: <3229B0F7-AB5C-4891-A384-CF493A866009@gmail.com> Date: Tue, 8 Mar 2016 22:39:09 +0200 Message-ID: Subject: Re: Failed to set SSL solr 5.2.1 Windows OS From: Ilan Schwarts To: solr-user@lucene.apache.org, sarowe@gmail.com Content-Type: multipart/related; boundary=001a1145aec8c39cc9052d8f9222 --001a1145aec8c39cc9052d8f9222 Content-Type: multipart/alternative; boundary=001a1145aec8c39cc5052d8f9221 --001a1145aec8c39cc5052d8f9221 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, thanks for reply. I am using solr.in.cmd I even put some pause in the cmd with echo to see the parameters are ok.. This is the original file as found in https://www.apache.org/dist/lucene/solr/5.2.1/solr-5.2.1.zip [image: Inline image 1] On Tue, Mar 8, 2016 at 10:25 PM, Steve Rowe wrote: > Hi Ilan, > > Looks like you=E2=80=99re modifying solr.in.sh instead of solr.in.cmd? > > FYI running under Cygwin is not supported. > > -- > Steve > www.lucidworks.com > > > On Mar 8, 2016, at 11:51 AM, Ilan Schwarts wrote: > > > > Hi all, I am trying to integrate solr with SSL on Windows 7 OS > > I followed the enable ssl guide at > > https://cwiki.apache.org/confluence/display/solr/Enabling+SSL > > > > I created the keystore and placed in on etc folder. I un-commented the > > lines and set: > > SOLR_SSL_KEY_STORE=3DC:\solr-5.2.1\server\etc\solr-ssl.keystore.jks > > SOLR_SSL_KEY_STORE_PASSWORD=3Dpassword > > SOLR_SSL_TRUST_STORE=3DC:\solr-5.2.1\server\etc\solr-ssl.keystore.jks > > SOLR_SSL_TRUST_STORE_PASSWORD=3Dpassword > > SOLR_SSL_NEED_CLIENT_AUTH=3Dfalse > > > > When i test the storekey using > > keytool -list -alias solr-ssl -keystore > > C:\solr-5.2.1\server\etc\solr-ssl.keystore.jks -storepass password > -keypass > > password > > It is okay, and print me there is 1 entry in keystore. > > > > When i am running in from solr, it will write: > > "Keystore was tampered with, or password was incorrect" > > I get this exception after JavaKeyStore.engineLoad(JavaKeyStore.java:78= 0) > > > > > > If i replace > > SOLR_SSL_KEY_STORE=3DC:\solr-5.2.1\server\etc\solr-ssl.keystore.jks wit= h > > SOLR_SSL_KEY_STORE=3DNOTHING_REALISTIC > > it will write the same error, i suspect i dont deliver the path as it > > should be. > > > > Any suggestions ? > > > > Thanks > > > > > > -- > > > > > > - > > Ilan Schwarts > > --=20 - Ilan Schwarts --001a1145aec8c39cc5052d8f9221 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, thanks for reply.
I am using solr.i= n.cmd
I even put some pause in the cmd with echo to see the parame= ters are ok.. This is the original file as found in https://www.apache.org/di= st/lucene/solr/5.2.1/solr-5.2.1.zip

3D"Inline

On Tue, Mar 8, 2016 a= t 10:25 PM, Steve Rowe <sarowe@gmail.com> wrote:
Hi Ilan,

Looks like you=E2=80=99re modifying solr.in.sh instead of solr.in.cmd?

FYI running under Cygwin is not supported.

--
Steve
= www.lucidworks.com

> On Mar 8, 2016, at 11:51 AM, Ilan Schwarts <ilan84@gmail.com> wrote:
>
> Hi all, I am trying to integrate solr with SSL on Windows 7 OS
> I followed the enable ssl guide at
> https://cwiki.apache.org/confluenc= e/display/solr/Enabling+SSL
>
> I created the keystore and placed in on etc folder. I un-commented the=
> lines and set:
> SOLR_SSL_KEY_STORE=3DC:\solr-5.2.1\server\etc\solr-ssl.keystore.jks > SOLR_SSL_KEY_STORE_PASSWORD=3Dpassword
> SOLR_SSL_TRUST_STORE=3DC:\solr-5.2.1\server\etc\solr-ssl.keystore.jks<= br> > SOLR_SSL_TRUST_STORE_PASSWORD=3Dpassword
> SOLR_SSL_NEED_CLIENT_AUTH=3Dfalse
>
> When i test the storekey using
> keytool -list -alias solr-ssl -keystore
> C:\solr-5.2.1\server\etc\solr-ssl.keystore.jks -storepass password -ke= ypass
> password
> It is okay, and print me there is 1 entry in keystore.
>
> When i am running in from solr, it will write:
> "Keystore was tampered with, or password was incorrect"
> I get this exception after JavaKeyStore.engineLoad(JavaKeyStore.java:7= 80)
>
>
> If i replace
> SOLR_SSL_KEY_STORE=3DC:\solr-5.2.1\server\etc\solr-ssl.keystore.jks wi= th
> SOLR_SSL_KEY_STORE=3DNOTHING_REALISTIC
> it will write the same error, i suspect i dont deliver the path as it<= br> > should be.
>
> Any suggestions ?
>
> Thanks
>
>
> --
>
>
> -
> Ilan Schwarts




--


-
Il= an Schwarts
--001a1145aec8c39cc5052d8f9221-- --001a1145aec8c39cc9052d8f9222--