You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Suzuki (JIRA)" <ji...@apache.org> on 2016/11/07 10:14:58 UTC

[jira] [Comment Edited] (SOLR-9727) solr.in.sh properties does not set the correct values.

    [ https://issues.apache.org/jira/browse/SOLR-9727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636013#comment-15636013 ] 

Michael Suzuki edited comment on SOLR-9727 at 11/7/16 10:14 AM:
----------------------------------------------------------------

The jetty-ssl.xml do not define the properties correctly, the property name should not be camel cased.
{code}
  <Set name="NeedClientAuth"><Property name="solr.jetty.ssl.needClientAuth" default="false"/></Set>
  <Set name="WantClientAuth"><Property name="solr.jetty.ssl.wantClientAuth" default="false"/></Set>
{code}


was (Author: michaelsuzuki):
When editing the solr.in.sh, the following properties do not get set.
{code}
SOLR_SSL_NEED_CLIENT_AUTH=true
SOLR_SSL_WANT_CLIENT_AUTH=false
{code}

In addition the jetty-ssl.xml do not define the properties correctly, the property name should not be camel cased.
{code}
  <Set name="NeedClientAuth"><Property name="solr.jetty.ssl.needClientAuth" default="false"/></Set>
  <Set name="WantClientAuth"><Property name="solr.jetty.ssl.wantClientAuth" default="false"/></Set>
{code}

> solr.in.sh properties does not set the correct values.
> ------------------------------------------------------
>
>                 Key: SOLR-9727
>                 URL: https://issues.apache.org/jira/browse/SOLR-9727
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Server
>    Affects Versions: 6.3
>            Reporter: Michael Suzuki
>            Assignee: Michael Suzuki
>         Attachments: SOLR-9727.patch
>
>
> When setting values to true on SOLR_SSL_NEED_CLIENT_AUTH or SOLR_SSL_WANT_CLIENT_AUTH, jetty starts with these values as set to false. 
> To recreate the issue:
> 1) Edit solr.ini.sh to enable ssl and set SOLR_SSL_NEED_CLIENT_AUTH to true.
> 2) Start solr with remote debugging.
> 3) Set a debug point in SSLContextFactory.java, on setNeedClientAuth(...)
> Expected value for needClientAuth should be true instead its false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org