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

Jan Høydahl commented on SOLR-18167:
------------------------------------

You use hte "old"  prop name. Which has a mapping in 
EnvToSyspropMappings.properties:
{code:java}
SOLR_AUTH_JWT_ALLOW_OUTBOUND_HTTP=solr.auth.jwt.allowOutboundHttp{code}
This would make it match {{solr.auth.jwt.allow.outbound.http}}

But the code now looks for {{{}solr.auth.jwt.outbound.http.enabled{}}}. It 
should be handled by DeprecatedSystemPropertyMappings.properties which has this 
line
{code:java}
solr.auth.jwt.outbound.http.enabled=solr.auth.jwt.allow.outbound.http {code}
But perhaps there is a bug resolving the combinatino of these two mappings?

> Conversion of old to new property name not working
> --------------------------------------------------
>
>                 Key: SOLR-18167
>                 URL: https://issues.apache.org/jira/browse/SOLR-18167
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 10.0
>            Reporter: Eric Pugh
>            Priority: Major
>
> Upgrading Chorus from Solr 9 to 10.   I am concerned our EnvUtils conversion 
> isn't working.
>  
> "SOLR_OPTS=-Dsolr.auth.jwt.allowOutboundHttp=true" is used with jwt-auth:
> =>org.apache.solr.common.SolrException: wellKnownUrl is using http protocol. 
> HTTPS required for IDP communication. Please use SSL or start your nodes with 
> -Dsolr.auth.jwt.outbound.http.enabled=true to allow HTTP for test purposes.
>  
> at 
> org.apache.solr.security.jwt.JWTIssuerConfig.checkAllowOutboundHttpConnections(JWTIssuerConfig.java:594)
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to